Ootempl.InvalidArchiveError exception (ootempl v0.3.0)

Raised when a .docx file is not a valid ZIP archive.

This error indicates that the file could not be opened as a ZIP archive, which is required for .docx files. Common causes include:

  • File is corrupt or incomplete
  • File is not actually a .docx file (despite the extension)
  • File permissions prevent reading

Summary

Types

t()

@type t() :: %Ootempl.InvalidArchiveError{
  __exception__: true,
  message: String.t(),
  path: Path.t(),
  reason: term()
}