DatadeftAuth.Error (datadeft_auth v0.6.1)

Copy Markdown

A redacted operational error. Codes are internal diagnostics, not HTTP responses.

Summary

Types

Closed diagnostic codes; never map these directly to public HTTP responses. For confirmation, :rejected and :bad_request clear temporary client state; :unavailable preserves it. Timeout or transport failure does not imply rollback. Do not blindly replay a mutation: a new public call does not preserve the original commit attempt.

t()

Operational errors contain only a diagnostic code, never transport payloads.

Types

code()

@type code() ::
  :configuration
  | :unavailable
  | :overloaded
  | :protocol
  | :timeout
  | :bad_request
  | :rejected
  | :internal

Closed diagnostic codes; never map these directly to public HTTP responses. For confirmation, :rejected and :bad_request clear temporary client state; :unavailable preserves it. Timeout or transport failure does not imply rollback. Do not blindly replay a mutation: a new public call does not preserve the original commit attempt.

t()

@type t() :: %DatadeftAuth.Error{code: code()}

Operational errors contain only a diagnostic code, never transport payloads.