Accrue.DecodeError exception (accrue v1.0.0)

Copy Markdown View Source

Raised when a processor response body cannot be decoded (malformed JSON, unexpected shape). The payload field holds the raw binary for debugging — treat as sensitive; do not log verbatim.

Summary

Types

t()

@type t() :: %Accrue.DecodeError{
  __exception__: true,
  message: term(),
  payload: term()
}