View Source Soroban.RPC.Error (Soroban v0.5.0)

Represents an error which occurred during a Soroban RPC call.

Link to this section Summary

Link to this section Types

@type code() :: -32099..-32000 | -32603..-32600 | -32700
@type message() :: String.t()
@type t() :: %Soroban.RPC.Error{code: code(), message: message()}

Link to this section Functions

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