Update auto-generated bindings
[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 <0 or can't be represented as `SystemTime`
17          */
18         LDKCreationError_TimestampOutOfBounds,
19         /**
20          * The supplied expiry time could cause an overflow if added to a `PositiveTimestamp`
21          */
22         LDKCreationError_ExpiryTimeOutOfBounds,
23         ; static native void init();
24         static { init(); }
25 }