projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-updated Java files
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
enums
/
CreationError.java
diff --git
a/src/main/java/org/ldk/enums/CreationError.java
b/src/main/java/org/ldk/enums/CreationError.java
index c0f494a26172481ecd2148f8053135cbc4235cf3..97b8d94114e6fcdf03798c40cc2a899c733d4df5 100644
(file)
--- a/
src/main/java/org/ldk/enums/CreationError.java
+++ b/
src/main/java/org/ldk/enums/CreationError.java
@@
-4,10
+4,26
@@
package org.ldk.enums;
* Errors that may occur when constructing a new `RawInvoice` or `Invoice`
*/
public enum CreationError {
* Errors that may occur when constructing a new `RawInvoice` or `Invoice`
*/
public enum CreationError {
+ /**
+ * The supplied description string was longer than 639 __bytes__ (see [`Description::new(...)`](./struct.Description.html#method.new))
+ */
LDKCreationError_DescriptionTooLong,
LDKCreationError_DescriptionTooLong,
+ /**
+ * The specified route has too many hops and can't be encoded
+ */
LDKCreationError_RouteTooLong,
LDKCreationError_RouteTooLong,
+ /**
+ * The unix timestamp of the supplied date is <0 or can't be represented as `SystemTime`
+ */
LDKCreationError_TimestampOutOfBounds,
LDKCreationError_TimestampOutOfBounds,
+ /**
+ * The supplied expiry time could cause an overflow if added to a `PositiveTimestamp`
+ */
LDKCreationError_ExpiryTimeOutOfBounds,
LDKCreationError_ExpiryTimeOutOfBounds,
+ /**
+ * The supplied millisatoshi amount was greater than the total bitcoin supply.
+ */
+ LDKCreationError_InvalidAmount,
; static native void init();
static { init(); }
}
\ No newline at end of file
; static native void init();
static { init(); }
}
\ No newline at end of file