Enum lightning_invoice::payment::PaymentError [−][src]
pub enum PaymentError {
Invoice(&'static str),
Routing(LightningError),
Sending(PaymentSendFailure),
}
Expand description
An error that may occur when making a payment.
Variants
Invoice(&'static str)
An error resulting from the provided Invoice
or payment hash.
Tuple Fields of Invoice
0: &'static str
Routing(LightningError)
An error occurring when finding a route.
Tuple Fields of Routing
Sending(PaymentSendFailure)
An error occurring when sending a payment.
Tuple Fields of Sending
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PaymentError
impl Send for PaymentError
impl Sync for PaymentError
impl Unpin for PaymentError
impl UnwindSafe for PaymentError
Blanket Implementations
Mutably borrows from an owned value. Read more