JsonRpcError
A JSON-RPC 2.0 error object.
codeinteger<int64>required
Numeric error code.
Example:
-32602dataobject | nullnullable
Optional structured detail, e.g. the offending parameter.
messagestringrequired
Short human-readable description.
Example:
Invalid paramsJsonRpcError
{
"code": -32602,
"data": "Unknown Type: object,null",
"message": "Invalid params"
}