Module jsonrpsee_types::error
source · Expand description
JSON-RPC response error object related types.
Structs§
Enums§
- JSONRPC error code
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.
- Batch request limit was exceed.
- Batched requests limit was exceed.
- Batch request limit was exceed.
- Batch request response limit was exceed.
- 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 batch request size have been exceeded. - Helper to get a
JSON-RPC
error object when the maximum batch response size have been exceeded. - 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 Aliases§
- Owned variant of
ErrorObject
.