mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
* FXV1: Meta Amount (#225) * FXV1: Optional Offer Sequence (#224) * FXV1: Patch Hooks OwnerDir (#236) * FXV1: Fix `Import` Quorum (#235) * FXV1: Namespace Limit (#220) * FXV1: allow duplicate entries in genesis mint transactor (#239) * FXV1: Fix URIToken (#243) * lite fixes for tsh issues (#244) Co-authored-by: RichardAH <richard.holland@starstone.co.nz>
51 lines
1.4 KiB
C
51 lines
1.4 KiB
C
// For documentation please see: https://xrpl-hooks.readme.io/reference/
|
|
// Generated using generate_error.sh
|
|
#ifndef HOOK_ERROR_CODES
|
|
#define SUCCESS 0
|
|
#define OUT_OF_BOUNDS -1
|
|
#define INTERNAL_ERROR -2
|
|
#define TOO_BIG -3
|
|
#define TOO_SMALL -4
|
|
#define DOESNT_EXIST -5
|
|
#define NO_FREE_SLOTS -6
|
|
#define INVALID_ARGUMENT -7
|
|
#define ALREADY_SET -8
|
|
#define PREREQUISITE_NOT_MET -9
|
|
#define FEE_TOO_LARGE -10
|
|
#define EMISSION_FAILURE -11
|
|
#define TOO_MANY_NONCES -12
|
|
#define TOO_MANY_EMITTED_TXN -13
|
|
#define NOT_IMPLEMENTED -14
|
|
#define INVALID_ACCOUNT -15
|
|
#define GUARD_VIOLATION -16
|
|
#define INVALID_FIELD -17
|
|
#define PARSE_ERROR -18
|
|
#define RC_ROLLBACK -19
|
|
#define RC_ACCEPT -20
|
|
#define NO_SUCH_KEYLET -21
|
|
#define NOT_AN_ARRAY -22
|
|
#define NOT_AN_OBJECT -23
|
|
#define INVALID_FLOAT -10024
|
|
#define DIVISION_BY_ZERO -25
|
|
#define MANTISSA_OVERSIZED -26
|
|
#define MANTISSA_UNDERSIZED -27
|
|
#define EXPONENT_OVERSIZED -28
|
|
#define EXPONENT_UNDERSIZED -29
|
|
#define XFL_OVERFLOW -30
|
|
#define NOT_IOU_AMOUNT -31
|
|
#define NOT_AN_AMOUNT -32
|
|
#define CANT_RETURN_NEGATIVE -33
|
|
#define NOT_AUTHORIZED -34
|
|
#define PREVIOUS_FAILURE_PREVENTS_RETRY -35
|
|
#define TOO_MANY_PARAMS -36
|
|
#define INVALID_TXN -37
|
|
#define RESERVE_INSUFFICIENT -38
|
|
#define COMPLEX_NOT_SUPPORTED -39
|
|
#define DOES_NOT_MATCH -40
|
|
#define INVALID_KEY -41
|
|
#define NOT_A_STRING -42
|
|
#define MEM_OVERLAP -43
|
|
#define TOO_MANY_STATE_MODIFICATIONS -44
|
|
#define TOO_MANY_NAMESPACES -45
|
|
#define HOOK_ERROR_CODES
|
|
#endif //HOOK_ERROR_CODES
|