XRPC error handling.
XRPC errors follow a standard format with:
error- A short error code stringmessage- A human-readable description
Summary
Functions
Create an Error from an HTTP response.
Types
@type t() :: %Exosphere.ATProto.XRPC.Error{ error: String.t(), message: String.t() | nil, status: pos_integer() }
Functions
@spec from_response(pos_integer(), map() | binary()) :: t()
Create an Error from an HTTP response.