Expand description
Errors surfaced by the confiumd JSON-RPC daemon.
Daemon errors fall into two layers:
RpcError— JSON-RPC protocol errors, serialized into a"error"object on the wire (seeprotocol.rs).DaemonError— transport / lifecycle failures that bubble up to the listen loop and usually terminate the process.
Modules§
- code
- JSON-RPC error codes as defined by the spec, plus the Confium-specific range (−32000 to −32099) for server errors.
Structs§
- Engine
Snafu - SNAFU context selector for the
RpcError::Enginevariant - Internal
Snafu - SNAFU context selector for the
RpcError::Internalvariant - Invalid
Params Snafu - SNAFU context selector for the
RpcError::InvalidParamsvariant - Method
NotFound Snafu - SNAFU context selector for the
RpcError::MethodNotFoundvariant
Enums§
- Daemon
Error - Transport / lifecycle errors that are not reported to the client as a JSON-RPC error but instead cause the listener or connection loop to abort.
- RpcError
- An error that can be serialized into a JSON-RPC
"error"object.