Merge pull request #139 from TheBlueMatt/main
[ldk-java] / c_sharp / src / org / ldk / enums / CreationError.cs
index 1e1aec0ae729ea1e8b9c8f9498ba3e54d8a88ede..71d37306b8aa21c9c407271d6d29738e75ffa504 100644 (file)
@@ -1,9 +1,9 @@
 namespace org { namespace ldk { namespace 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,
        /**
@@ -25,4 +25,10 @@ public enum CreationError {
         * [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,
 }} } }