[Java] Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / enums / Bolt12SemanticError.java
1 package org.ldk.enums;
2
3 /**
4  * Error when interpreting a TLV stream as a specific type.
5  */
6 public enum Bolt12SemanticError {
7         /**
8          * The current [`std::time::SystemTime`] is past the offer or invoice's expiration.
9          */
10         LDKBolt12SemanticError_AlreadyExpired,
11         /**
12          * The provided chain hash does not correspond to a supported chain.
13          */
14         LDKBolt12SemanticError_UnsupportedChain,
15         /**
16          * A chain was provided but was not expected.
17          */
18         LDKBolt12SemanticError_UnexpectedChain,
19         /**
20          * An amount was expected but was missing.
21          */
22         LDKBolt12SemanticError_MissingAmount,
23         /**
24          * The amount exceeded the total bitcoin supply.
25          */
26         LDKBolt12SemanticError_InvalidAmount,
27         /**
28          * An amount was provided but was not sufficient in value.
29          */
30         LDKBolt12SemanticError_InsufficientAmount,
31         /**
32          * An amount was provided but was not expected.
33          */
34         LDKBolt12SemanticError_UnexpectedAmount,
35         /**
36          * A currency was provided that is not supported.
37          */
38         LDKBolt12SemanticError_UnsupportedCurrency,
39         /**
40          * A feature was required but is unknown.
41          */
42         LDKBolt12SemanticError_UnknownRequiredFeatures,
43         /**
44          * Features were provided but were not expected.
45          */
46         LDKBolt12SemanticError_UnexpectedFeatures,
47         /**
48          * A required description was not provided.
49          */
50         LDKBolt12SemanticError_MissingDescription,
51         /**
52          * A signing pubkey was not provided.
53          */
54         LDKBolt12SemanticError_MissingSigningPubkey,
55         /**
56          * A signing pubkey was provided but a different one was expected.
57          */
58         LDKBolt12SemanticError_InvalidSigningPubkey,
59         /**
60          * A signing pubkey was provided but was not expected.
61          */
62         LDKBolt12SemanticError_UnexpectedSigningPubkey,
63         /**
64          * A quantity was expected but was missing.
65          */
66         LDKBolt12SemanticError_MissingQuantity,
67         /**
68          * An unsupported quantity was provided.
69          */
70         LDKBolt12SemanticError_InvalidQuantity,
71         /**
72          * A quantity or quantity bounds was provided but was not expected.
73          */
74         LDKBolt12SemanticError_UnexpectedQuantity,
75         /**
76          * Metadata could not be used to verify the offers message.
77          */
78         LDKBolt12SemanticError_InvalidMetadata,
79         /**
80          * Metadata was provided but was not expected.
81          */
82         LDKBolt12SemanticError_UnexpectedMetadata,
83         /**
84          * Payer metadata was expected but was missing.
85          */
86         LDKBolt12SemanticError_MissingPayerMetadata,
87         /**
88          * A payer id was expected but was missing.
89          */
90         LDKBolt12SemanticError_MissingPayerId,
91         /**
92          * The payment id for a refund or request is already in use.
93          */
94         LDKBolt12SemanticError_DuplicatePaymentId,
95         /**
96          * Blinded paths were expected but were missing.
97          */
98         LDKBolt12SemanticError_MissingPaths,
99         /**
100          * The blinded payinfo given does not match the number of blinded path hops.
101          */
102         LDKBolt12SemanticError_InvalidPayInfo,
103         /**
104          * An invoice creation time was expected but was missing.
105          */
106         LDKBolt12SemanticError_MissingCreationTime,
107         /**
108          * An invoice payment hash was expected but was missing.
109          */
110         LDKBolt12SemanticError_MissingPaymentHash,
111         /**
112          * A signature was expected but was missing.
113          */
114         LDKBolt12SemanticError_MissingSignature,
115         ; static native void init();
116         static { org.ldk.impl.bindings.run_statics(); init(); }
117 }