Skip to main content

Module error

Module error 

Source
Expand description

Error types for pdfluent.

One Error enum covers all public operations. The enum is #[non_exhaustive] to permit additional variants in minor releases without breaking match exhaustiveness.

Each variant carries:

  • a stable code string of the form E-<CATEGORY>-<SPECIFIC>,
  • a deep-linked docs_url to https://pdfluent.com/errors/<code>,
  • a human-readable message via the std::fmt::Display implementation.

See RFC 0001 §5 for the full contract.

Enums§

DecryptionFailureReason
Specific cause of a decryption failure.
Error
Top-level error type for all pdfluent operations.
ResourceLimitKind
Discriminator for a Error::ResourceLimitExceeded error.

Type Aliases§

Result
Unified result type for the pdfluent crate.