Skip to main content

Module error

Module error 

Source
Expand description

Error types of the lightning client.

Every failure this module reports to its callers is named here, so there is one place for an integrator to look.

Enumsยง

ClaimIncomingContractError
A failure to claim an incoming contract the federation already holds.
CreateBolt11InvoiceError
A failure to create a BOLT11 invoice to be paid into this federation.
GatewaySelectionError
A failure to pick a Lightning gateway for an operation.
LnSubscribeError
A failure to follow a lightning operation.
PayBolt11InvoiceError
A failure to pay a BOLT11 invoice.
PaymentInfoError
A failure to turn user input into a BOLT11 invoice to pay.
ReclaimLnReceiveError
A failure to restart the claim of an already-paid lightning invoice.
SpendableAmountError
A failure to work out the largest invoice amount the client could pay in full.