Skip to main content

Module error

Module error 

Source
Expand description

A bunch of wrap errors.

Enums§

Error
Errors enum mapping global custom errors. The error type can be expressed in decimal, where the high decs represent the error category and the low decs represent the error type.
OnionQueueAdmissionReason
Algebraic reason a bounded onion/relay queue rejected one item.
OnionQueueKind
Bounded onion/relay queue whose admission failed.

Constants§

INCOMPATIBLE_WIRE_VERSION_CODE
The stable JSON-RPC code of Error::IncompatibleWireVersion, which a client matches.

Type Aliases§

Result
A wrap Result contains custom errors.