[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / enums / PaymentFailureReason.cs
1 namespace org { namespace ldk { namespace enums {/**
2  * The reason the payment failed. Used in [`Event::PaymentFailed`].
3  */
4 public enum PaymentFailureReason {
5         /**
6          * The intended recipient rejected our payment.
7          */
8         LDKPaymentFailureReason_RecipientRejected,
9         /**
10          * The user chose to abandon this payment by calling [`ChannelManager::abandon_payment`].
11          * 
12          * [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
13          */
14         LDKPaymentFailureReason_UserAbandoned,
15         /**
16          * We exhausted all of our retry attempts while trying to send the payment, or we
17          * exhausted the [`Retry::Timeout`] if the user set one. If at any point a retry
18          * attempt failed while being forwarded along the path, an [`Event::PaymentPathFailed`] will
19          * have come before this.
20          * 
21          * [`Retry::Timeout`]: crate::ln::channelmanager::Retry::Timeout
22          */
23         LDKPaymentFailureReason_RetriesExhausted,
24         /**
25          * The payment expired while retrying, based on the provided
26          * [`PaymentParameters::expiry_time`].
27          * 
28          * [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
29          */
30         LDKPaymentFailureReason_PaymentExpired,
31         /**
32          * We failed to find a route while retrying the payment.
33          */
34         LDKPaymentFailureReason_RouteNotFound,
35         /**
36          * This error should generally never happen. This likely means that there is a problem with
37          * your router.
38          */
39         LDKPaymentFailureReason_UnexpectedError,
40 }} } }