class
MCProtocol::JSONRPCErrorError
- MCProtocol::JSONRPCErrorError
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/jsonrpc_error.crConstructors
Instance Method Summary
-
#code : Int64
The error type that occurred.
-
#data : JSON::Any | Nil
Additional information about the error.
-
#message : String
A short description of the error.
Constructor Detail
Instance Method Detail
def data : JSON::Any | Nil
#
Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).
def message : String
#
A short description of the error. The message SHOULD be limited to a concise single sentence.