[Java] Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / enums / CreationError.java
index 97b8d94114e6fcdf03798c40cc2a899c733d4df5..90e1a5f722723ce9db140619d2d75c9cdf64719b 100644 (file)
@@ -1,11 +1,11 @@
 package org.ldk.enums;
 
 /**
- * Errors that may occur when constructing a new `RawInvoice` or `Invoice`
+ * Errors that may occur when constructing a new [`RawBolt11Invoice`] or [`Bolt11Invoice`]
  */
 public enum CreationError {
        /**
-        * The supplied description string was longer than 639 __bytes__ (see [`Description::new(...)`](./struct.Description.html#method.new))
+        * The supplied description string was longer than 639 __bytes__ (see [`Description::new`])
         */
        LDKCreationError_DescriptionTooLong,
        /**
@@ -13,17 +13,26 @@ public enum CreationError {
         */
        LDKCreationError_RouteTooLong,
        /**
-        * The unix timestamp of the supplied date is <0 or can't be represented as `SystemTime`
+        * The Unix timestamp of the supplied date is less than zero or greater than 35-bits
         */
        LDKCreationError_TimestampOutOfBounds,
-       /**
-        * The supplied expiry time could cause an overflow if added to a `PositiveTimestamp`
-        */
-       LDKCreationError_ExpiryTimeOutOfBounds,
        /**
         * The supplied millisatoshi amount was greater than the total bitcoin supply.
         */
        LDKCreationError_InvalidAmount,
+       /**
+        * Route hints were required for this invoice and were missing. Applies to
+        * [phantom invoices].
+        * 
+        * [phantom invoices]: crate::utils::create_phantom_invoice
+        */
+       LDKCreationError_MissingRouteHints,
+       /**
+        * The provided `min_final_cltv_expiry_delta` was less than [`MIN_FINAL_CLTV_EXPIRY_DELTA`].
+        * 
+        * [`MIN_FINAL_CLTV_EXPIRY_DELTA`]: lightning::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA
+        */
+       LDKCreationError_MinFinalCltvExpiryDeltaTooShort,
        ; static native void init();
-       static { init(); }
+       static { org.ldk.impl.bindings.run_statics(); init(); }
 }
\ No newline at end of file