Skip to main content

Module error

Module error 

Source
Expand description

Error types of the client Error types of the client.

The types the client’s modules also need are defined in fedimint_client_module::error and re-exported here, so this module is the single place to look.

Structs§

ApiVersionDiscoveryError
The client and the federation’s peers share no core API version.
InsufficientBalanceError
The primary module cannot fund a transaction: the balance it holds is below what the transaction needs.
OperationAlreadyExistsError
An operation with the same id already exists in the operation log.
OperationNotFoundError
No operation with the requested id exists in the operation log.

Enums§

AddStateMachinesError
A failure to add state machines to the client’s executor.
BackupError
A failure to create, encrypt, upload or read back a client backup.
ClientBuildError
A failure to open, join or recover a client.
ClientSecretError
A failure to read or write the client’s stored root secret.
EventHandlerError
A failure while handling entries from the event log.
MetaFetchError
A failure to fetch the federation’s meta fields.
ModuleLookupError
A failure to find a module able to serve a request.
OperationLookupError
A failure to look up one of a module’s own operations.
RecoveryError
A failure to wait for a module recovery to finish.
TransactionSubmitError
A failure to build, submit or complete a client transaction.