Enum breez_sdk_liquid::error::PaymentError
source · pub enum PaymentError {
Show 21 variants
AlreadyClaimed,
AlreadyPaid,
PaymentInProgress,
AmountOutOfRange,
AmountMissing {
err: String,
},
InvalidNetwork {
err: String,
},
Generic {
err: String,
},
InvalidOrExpiredFees,
InsufficientFunds,
InvalidDescription {
err: String,
},
InvalidInvoice {
err: String,
},
InvalidPreimage,
LwkError {
err: String,
},
PairsNotFound,
PaymentTimeout,
PersistError,
ReceiveError {
err: String,
},
Refunded {
err: String,
refund_tx_id: String,
},
SelfTransferNotSupported,
SendError {
err: String,
},
SignerError {
err: String,
},
}
Variants§
AlreadyClaimed
AlreadyPaid
PaymentInProgress
AmountOutOfRange
AmountMissing
InvalidNetwork
Generic
InvalidOrExpiredFees
InsufficientFunds
InvalidDescription
InvalidInvoice
InvalidPreimage
LwkError
PairsNotFound
PaymentTimeout
PersistError
ReceiveError
Refunded
SelfTransferNotSupported
SendError
SignerError
Trait Implementations§
source§impl Debug for PaymentError
impl Debug for PaymentError
source§impl Display for PaymentError
impl Display for PaymentError
source§impl Error for PaymentError
impl Error for PaymentError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for PaymentError
impl From<Error> for PaymentError
source§impl From<Error> for PaymentError
impl From<Error> for PaymentError
source§impl From<Error> for PaymentError
impl From<Error> for PaymentError
source§impl From<Error> for PaymentError
impl From<Error> for PaymentError
source§impl From<Error> for PaymentError
impl From<Error> for PaymentError
source§impl From<HexToArrayError> for PaymentError
impl From<HexToArrayError> for PaymentError
source§impl From<PaymentError> for LnUrlAuthError
impl From<PaymentError> for LnUrlAuthError
source§fn from(value: PaymentError) -> Self
fn from(value: PaymentError) -> Self
Converts to this type from the input type.
source§impl From<PaymentError> for LnUrlPayError
impl From<PaymentError> for LnUrlPayError
source§fn from(value: PaymentError) -> Self
fn from(value: PaymentError) -> Self
Converts to this type from the input type.
source§impl From<PaymentError> for LnUrlWithdrawError
impl From<PaymentError> for LnUrlWithdrawError
source§fn from(value: PaymentError) -> Self
fn from(value: PaymentError) -> Self
Converts to this type from the input type.
source§impl From<SdkError> for PaymentError
impl From<SdkError> for PaymentError
source§impl From<SignerError> for PaymentError
impl From<SignerError> for PaymentError
source§impl IntoDart for PaymentError
impl IntoDart for PaymentError
source§impl IntoIntoDart<PaymentError> for PaymentError
impl IntoIntoDart<PaymentError> for PaymentError
fn into_into_dart(self) -> PaymentError
impl IntoDartExceptPrimitive for PaymentError
Auto Trait Implementations§
impl Freeze for PaymentError
impl RefUnwindSafe for PaymentError
impl Send for PaymentError
impl Sync for PaymentError
impl Unpin for PaymentError
impl UnwindSafe for PaymentError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request