class

MCProtocol::JSONRPCErrorError

Inherits JSON::Serializable < Reference < Object

Constructors

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

Instance methods

code

The error type that occurred.

Source
data

Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).

Source
message

A short description of the error. The message SHOULD be limited to a concise single sentence.

Source