struct

JSON::RPC::Error::Payload

Inherits JSON::Serializable < Struct < Value < Object

The structured error member of a JSON-RPC response. Parsed from the wire and converted into an {Error} by {Client}.

Constructors

new(code : Int32, message : String, data : JSON::Any | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code
Source
data
Source
message
Source
to_error
Source