Expand description
Error types shared between the client and its modules Error types shared between the client and its modules.
The client implements the traits in crate::module and crate for its
modules, so the failures those traits report have to be nameable from both
sides; they live here rather than in fedimint-client, which the modules do
not depend on.
Structs§
- ApiVersion
Discovery Error - The client and the federation’s peers share no core API version.
- Insufficient
Balance Error - The primary module cannot fund a transaction: the balance it holds is below what the transaction needs.
- Operation
Already Exists Error - An operation with the same id already exists in the operation log.
- Operation
NotFound Error - No operation with the requested id exists in the operation log.
Enums§
- AddState
Machines Error - A failure to add state machines to the client’s executor.
- Meta
Fetch Error - A failure to fetch the federation’s meta fields.
- Module
Lookup Error - A failure to find a module able to serve a request.
- Operation
Lookup Error - A failure to look up one of a module’s own operations.
- Transaction
Submit Error - A failure to build, submit or complete a client transaction.