A class representing a JSON-RPC 2.0 error object.
code
Numeric JSON-RPC error code
message
Message for the error
data
Any additional data associated with the error
new()
Initialize a JSON-RPC error
JsonRpcError$new(code = NULL, message = NULL, data = NULL)
code
Numeric JSON-RPC error code
message
Message for the error
data
Any additional data associated with the error
dehydrate()
Dehydrate the error to a list
JsonRpcError$dehydrate()
clone()
The objects of this class are cloneable with this method.
JsonRpcError$clone(deep = FALSE)
deep
Whether to make a deep clone.