2 export enum Secp256k1Error {
4 * Signature failed verification
6 LDKSecp256k1Error_IncorrectSignature,
8 * Badly sized message ("messages" are actually fixed-sized digests; see the MESSAGE_SIZE constant)
10 LDKSecp256k1Error_InvalidMessage,
14 LDKSecp256k1Error_InvalidPublicKey,
18 LDKSecp256k1Error_InvalidSignature,
22 LDKSecp256k1Error_InvalidSecretKey,
26 LDKSecp256k1Error_InvalidRecoveryId,
28 * Invalid tweak for add_assign or mul_assign
30 LDKSecp256k1Error_InvalidTweak,
32 * tweak_add_check failed on an xonly public key
34 LDKSecp256k1Error_TweakCheckFailed,
36 * Didn't pass enough memory to context creation with preallocated memory
38 LDKSecp256k1Error_NotEnoughMemory,