Expand description
JSON-RPC response error object related types.
Structs§
Enums§
- Error
Code - JSONRPC error code
Constants§
- BATCHES_
NOT_ SUPPORTED_ CODE - Batched requests are not supported by the server.
- BATCHES_
NOT_ SUPPORTED_ MSG - Batched requests not supported error message.
- CALL_
EXECUTION_ FAILED_ CODE - Custom server error when a call failed.
- INTERNAL_
ERROR_ CODE - Internal error code.
- INTERNAL_
ERROR_ MSG - Internal error message.
- INVALID_
PARAMS_ CODE - Invalid params error code.
- INVALID_
PARAMS_ MSG - Invalid params error message.
- INVALID_
REQUEST_ CODE - Invalid request error code.
- INVALID_
REQUEST_ MSG - Invalid request error message.
- METHOD_
NOT_ FOUND_ CODE - Method not found error code.
- METHOD_
NOT_ FOUND_ MSG - Method not found error message.
- OVERSIZED_
REQUEST_ CODE - Oversized request error code.
- OVERSIZED_
REQUEST_ MSG - Oversized request message
- OVERSIZED_
RESPONSE_ CODE - Oversized response error code.
- OVERSIZED_
RESPONSE_ MSG - Oversized response message
- PARSE_
ERROR_ CODE - Parse error code.
- PARSE_
ERROR_ MSG - Parse error message
- SERVER_
ERROR_ MSG - Reserved for implementation-defined server-errors.
- SERVER_
IS_ BUSY_ CODE - Server is busy error code.
- SERVER_
IS_ BUSY_ MSG - Server is busy error message.
- TOO_
BIG_ BATCH_ REQUEST_ CODE - Batch request limit was exceed.
- TOO_
BIG_ BATCH_ REQUEST_ MSG - Batched requests limit was exceed.
- TOO_
BIG_ BATCH_ RESPONSE_ CODE - Batch request limit was exceed.
- TOO_
BIG_ BATCH_ RESPONSE_ MSG - Batch request response limit was exceed.
- TOO_
MANY_ SUBSCRIPTIONS_ CODE - Subscription limit per connection was exceeded.
- TOO_
MANY_ SUBSCRIPTIONS_ MSG - Subscription limit per connection was exceeded.
- UNKNOWN_
ERROR_ CODE - Unknown error.
Functions§
- reject_
too_ big_ batch_ request - Helper to get a
JSON-RPCerror object when the maximum batch request size have been exceeded. - reject_
too_ big_ batch_ response - Helper to get a
JSON-RPCerror object when the maximum batch response size have been exceeded. - reject_
too_ big_ request - Helper to get a
JSON-RPCerror object when the maximum request size limit have been exceeded. - reject_
too_ many_ subscriptions - Helper to get a
JSON-RPCerror object when the maximum number of subscriptions have been exceeded.
Type Aliases§
- Error
Object Owned - Owned variant of
ErrorObject.