Module jsonrpsee_types::error
source · Expand description
JSON-RPC response error object related types.
Structs
- The error returned by the subscription’s method for the rpc server implementation.
Enums
- Error that occurs when a call failed.
- JSONRPC error code
- The error returned while accepting or rejecting a subscription.
Constants
- Batched requests are not supported by the server.
- Batched requests not supported error message.
- Custom server error when a call failed.
- Internal error code.
- Internal error message.
- Invalid params error code.
- Invalid params error message.
- Invalid request error code.
- Invalid request error message.
- Method not found error code.
- Method not found error message.
- Oversized request error code.
- Oversized request message
- Oversized response error code.
- Oversized response message
- Parse error code.
- Parse error message
- Reserved for implementation-defined server-errors.
- Server is busy error code.
- Server is busy error message.
- Subscription got closed by the server.
- Subscription got closed by the server.
- Subscription limit per connection was exceeded.
- Subscription limit per connection was exceeded.
- Unknown error.
Functions
- Helper to get a
JSON-RPC
error object when the maximum request size limit have been exceeded. - Helper to get a
JSON-RPC
error object when the maximum number of subscriptions have been exceeded.
Type Definitions
- Owned variant of
ErrorObject
. - The return type of the subscription’s method for the rpc server implementation.