View Source Soroban.RPC.HTTPError (Soroban v0.10.0)

Represents an error which occurred during a HTTP request.

Link to this section Summary

Link to this section Types

@type message() :: String.t() | atom()
@type status() :: 400..599 | :network_error
@type t() :: %Soroban.RPC.HTTPError{message: message(), status: status()}

Link to this section Functions

@spec new(error :: map()) :: t()