Uses of Class
org.ldk.structs.PaymentError
-
Packages that use PaymentError Package Description org.ldk.structs -
-
Uses of PaymentError in org.ldk.structs
Subclasses of PaymentError in org.ldk.structs Modifier and Type Class Description static class
PaymentError.Invoice
An error resulting from the provided [`Invoice`] or payment hash.static class
PaymentError.Sending
An error occurring when sending a payment.Fields in org.ldk.structs declared as PaymentError Modifier and Type Field Description PaymentError
Result_NonePaymentErrorZ.Result_NonePaymentErrorZ_Err. err
PaymentError
Result_PaymentIdPaymentErrorZ.Result_PaymentIdPaymentErrorZ_Err. err
Methods in org.ldk.structs that return PaymentError Modifier and Type Method Description PaymentError
PaymentError. clone()
Creates a copy of the PaymentErrorstatic PaymentError
PaymentError. invoice(String a)
Utility method to constructs a new Invoice-variant PaymentErrorstatic PaymentError
PaymentError. sending(RetryableSendFailure a)
Utility method to constructs a new Sending-variant PaymentErrorMethods in org.ldk.structs with parameters of type PaymentError Modifier and Type Method Description static Result_NonePaymentErrorZ
Result_NonePaymentErrorZ. err(PaymentError e)
Creates a new CResult_NonePaymentErrorZ in the error state.static Result_PaymentIdPaymentErrorZ
Result_PaymentIdPaymentErrorZ. err(PaymentError e)
Creates a new CResult_PaymentIdPaymentErrorZ in the error state.
-