--- /dev/null
+package org.ldk.enums;
+
+/**
+ * Errors that may occur when converting a `RawInvoice` to an `Invoice`. They relate to the
+ * requirements sections in BOLT #11
+ */
+public enum SemanticError {
+ LDKSemanticError_NoPaymentHash,
+ LDKSemanticError_MultiplePaymentHashes,
+ LDKSemanticError_NoDescription,
+ LDKSemanticError_MultipleDescriptions,
+ LDKSemanticError_MultiplePaymentSecrets,
+ LDKSemanticError_InvalidFeatures,
+ LDKSemanticError_InvalidRecoveryId,
+ LDKSemanticError_InvalidSignature,
+ ; static native void init();
+ static { init(); }
+}
\ No newline at end of file