Structured errors returned by Open Payments operations and protocol validation.
Validation issues identify a field and explain its constraint without retaining the rejected value. Inspection omits descriptions and arbitrary server details; applications should take care when logging those fields explicitly.
Summary
Types
@type kind() ::
:configuration | :validation | :signing | :transport | :http | :decoding
@type t() :: %OpenPayments.Error{ __exception__: term(), code: String.t() | nil, description: String.t() | nil, details: map() | nil, kind: kind(), operation: atom() | nil, status: pos_integer() | nil, validation_errors: [validation_issue()] }