Normalized validation, authentication, transport, HTTP or protocol error.
API validation details remain in body. code also handles OAuth string errors
such as authorization_pending. retry_after is in seconds. cause preserves
the transport exception. Inspect excludes body, headers and cause.
Summary
Functions
Converts an unsuccessful Req response while preserving its body and quota headers.
Builds a local parameter-validation error without an HTTP status.
Types
Functions
@spec from_req(Req.Response.t()) :: t()
Converts an unsuccessful Req response while preserving its body and quota headers.
Builds a local parameter-validation error without an HTTP status.