4 * Errors that may occur when constructing a new `RawInvoice` or `Invoice`
6 public enum CreationError {
8 * The supplied description string was longer than 639 __bytes__ (see [`Description::new(...)`](./struct.Description.html#method.new))
10 LDKCreationError_DescriptionTooLong,
12 * The specified route has too many hops and can't be encoded
14 LDKCreationError_RouteTooLong,
16 * The unix timestamp of the supplied date is <0 or can't be represented as `SystemTime`
18 LDKCreationError_TimestampOutOfBounds,
20 * The supplied expiry time could cause an overflow if added to a `PositiveTimestamp`
22 LDKCreationError_ExpiryTimeOutOfBounds,
23 ; static native void init();