struct
ACP::Protocol::JsonRpcErrorObject
- ACP::Protocol::JsonRpcErrorObject
- Struct
- Value
- Object
Overview
A JSON-RPC 2.0 error object, returned inside error responses.
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
Instance Method Summary
-
#code : Int32
Integer error code.
-
#code=(code : Int32)
Integer error code.
-
#data : JSON::Any | Nil
Optional structured error data.
-
#data=(data : JSON::Any | Nil)
Optional structured error data.
-
#message : String
Human-readable error message.
-
#message=(message : String)
Human-readable error message.