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)
Tuple Fields
0: &'static str
An error resulting from the provided Invoice
or payment hash.
Routing(LightningError)
Tuple Fields
An error occurring when finding a route.
Sending(PaymentSendFailure)
Tuple Fields
An error occurring when sending a payment.
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