]> git.bitcoin.ninja Git - ldk-java/blob - c_sharp/src/org/ldk/enums/CreationError.cs
[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / enums / CreationError.cs
1 namespace org { namespace ldk { namespace enums {/**
2  * Errors that may occur when constructing a new [`RawBolt11Invoice`] or [`Bolt11Invoice`]
3  */
4 public enum CreationError {
5         /**
6          * The supplied description string was longer than 639 __bytes__ (see [`Description::new`])
7          */
8         LDKCreationError_DescriptionTooLong,
9         /**
10          * The specified route has too many hops and can't be encoded
11          */
12         LDKCreationError_RouteTooLong,
13         /**
14          * The Unix timestamp of the supplied date is less than zero or greater than 35-bits
15          */
16         LDKCreationError_TimestampOutOfBounds,
17         /**
18          * The supplied millisatoshi amount was greater than the total bitcoin supply.
19          */
20         LDKCreationError_InvalidAmount,
21         /**
22          * Route hints were required for this invoice and were missing. Applies to
23          * [phantom invoices].
24          * 
25          * [phantom invoices]: crate::utils::create_phantom_invoice
26          */
27         LDKCreationError_MissingRouteHints,
28         /**
29          * The provided `min_final_cltv_expiry_delta` was less than [`MIN_FINAL_CLTV_EXPIRY_DELTA`].
30          * 
31          * [`MIN_FINAL_CLTV_EXPIRY_DELTA`]: lightning::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA
32          */
33         LDKCreationError_MinFinalCltvExpiryDeltaTooShort,
34 }} } }