Accrue.Error.PdfDisabled exception (accrue v0.3.0)

Copy Markdown View Source

Raised / returned when the configured PDF adapter is Accrue.PDF.Null. Expected and terminal — callers MUST pattern-match and fall through to a non-PDF path (e.g., link to hosted_invoice_url instead of attaching a rendered binary). Oban workers MUST NOT treat this as a transient retry; it is a stable adapter configuration, not a failure.

Summary

Types

t()

@type t() :: %Accrue.Error.PdfDisabled{
  __exception__: true,
  docs_url: term(),
  message: term(),
  reason: term()
}