[Java] Update auto-generated bindings to 0.0.105.0
[ldk-java] / src / main / java / org / ldk / enums / CreationError.java
1 package org.ldk.enums;
2
3 /**
4  * Errors that may occur when constructing a new `RawInvoice` or `Invoice`
5  */
6 public enum CreationError {
7         /**
8          * The supplied description string was longer than 639 __bytes__ (see [`Description::new(...)`](./struct.Description.html#method.new))
9          */
10         LDKCreationError_DescriptionTooLong,
11         /**
12          * The specified route has too many hops and can't be encoded
13          */
14         LDKCreationError_RouteTooLong,
15         /**
16          * The Unix timestamp of the supplied date is less than zero or greater than 35-bits
17          */
18         LDKCreationError_TimestampOutOfBounds,
19         /**
20          * The supplied millisatoshi amount was greater than the total bitcoin supply.
21          */
22         LDKCreationError_InvalidAmount,
23         /**
24          * Route hints were required for this invoice and were missing. Applies to
25          * [phantom invoices].
26          * 
27          * [phantom invoices]: crate::utils::create_phantom_invoice
28          */
29         LDKCreationError_MissingRouteHints,
30         ; static native void init();
31         static { init(); }
32 }