Structured error returned by Google API calls.
Raised as an exception when needed (defexception), but the HTTP and API
modules return {:error, %Noizu.Google.Error{}} instead of raising.
:reason—:http_error,:config, or the underlying transport/codec term:tag— Googleerror.status/error.code, or:transport/:codec/:config:status— HTTP status when the response arrived:body— decoded JSON (or raw body) from Google
Summary
Functions
Build an encoding/decoding error.
Missing configuration (token, credentials, etc.).
Build an error from an HTTP response body (JSON map or raw).
Build a transport / client-side error.
Types
Functions
Build an encoding/decoding error.
Missing configuration (token, credentials, etc.).
@spec from_response(pos_integer(), term()) :: t()
Build an error from an HTTP response body (JSON map or raw).
Build a transport / client-side error.