Expand description
The ProgramError
type and related definitions.
Enums§
- Program
Error - Reasons the program may fail
Constants§
- ACCOUNT_
ALREADY_ INITIALIZED - ACCOUNT_
BORROW_ FAILED - ACCOUNT_
DATA_ TOO_ SMALL - ACCOUNT_
NOT_ RENT_ EXEMPT - BORSH_
IO_ ERROR - CUSTOM_
ZERO - ILLEGAL_
OWNER - INCORRECT_
PROGRAM_ ID - INSUFFICIENT_
FUNDS - INVALID_
ACCOUNT_ DATA - INVALID_
ACCOUNT_ DATA_ REALLOC - INVALID_
ARGUMENT - INVALID_
INSTRUCTION_ DATA - INVALID_
SEEDS - MAX_
ACCOUNTS_ DATA_ SIZE_ EXCEEDED - MAX_
SEED_ LENGTH_ EXCEEDED - MISSING_
REQUIRED_ SIGNATURES - NOT_
ENOUGH_ ACCOUNT_ KEYS - UNINITIALIZED_
ACCOUNT - UNSUPPORTED_
SYSVAR