View Source Stellar.Horizon.ErrorMapper (Elixir Stellar SDK v0.22.0)
Assigns errors returned by the HTTP client to a custom structure.
Summary
Types
@type error() :: {error_source(), error_body()}
@type error_source() :: :horizon | :network
@type t() :: {:error, struct()}