Pdf.Reader.Error exception (ex_pdf_read v1.0.0)

Copy Markdown View Source

Exception raised by bang variants of Pdf.Reader functions.

The :reason field carries the same atom or tagged tuple that the non-bang variant would have returned in {:error, reason}.

Do not rescue this in production pipelines — use the non-bang forms and pattern-match on {:error, reason} instead.