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

Represents an error which occurred during a HTTP request.

Summary

Types

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

Functions

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