Enumeration Members

AccountDidNotDeserialize: "AccountDidNotDeserialize"

Failed to deserialize the account

AccountDidNotSerialize: "AccountDidNotSerialize"

Failed to serialize the account

AccountDiscriminatorAlreadySet: "AccountDiscriminatorAlreadySet"

The account discriminator was already set on this account

AccountDiscriminatorMismatch: "AccountDiscriminatorMismatch"

8 byte discriminator did not match what was expected

AccountDiscriminatorNotFound: "AccountDiscriminatorNotFound"

No 8 byte discriminator was found on the account

AccountDuplicateReallocs: "AccountDuplicateReallocs"

The account was duplicated for more than one reallocation

AccountNotAssociatedTokenAccount: "AccountNotAssociatedTokenAccount"

The given account is not the associated token account

AccountNotEnoughKeys: "AccountNotEnoughKeys"

Not enough account keys given to the instruction

AccountNotInitialized: "AccountNotInitialized"

The program expected this account to be already initialized

AccountNotMutable: "AccountNotMutable"

The given account is not mutable

AccountNotProgramData: "AccountNotProgramData"

The given account is not a program data account

AccountNotSigner: "AccountNotSigner"

The given account did not sign

AccountNotSystemOwned: "AccountNotSystemOwned"

The given account is not owned by the system program

AccountOwnedByWrongProgram: "AccountOwnedByWrongProgram"

The given account is owned by a different program than expected

AccountReallocExceedsLimit: "AccountReallocExceedsLimit"

The account reallocation exceeds the MAX_PERMITTED_DATA_INCREASE limit

AccountSysvarMismatch: "AccountSysvarMismatch"

The given public key does not match the required sysvar

ConstraintAccountIsNone: "ConstraintAccountIsNone"

A required account for the constraint is None

ConstraintAddress: "ConstraintAddress"

An address constraint was violated

ConstraintAssociated: "ConstraintAssociated"

An associated constraint was violated

ConstraintAssociatedInit: "ConstraintAssociatedInit"

An associated init constraint was violated

ConstraintClose: "ConstraintClose"

A close constraint was violated

ConstraintExecutable: "ConstraintExecutable"

An executable constraint was violated

ConstraintHasOne: "ConstraintHasOne"

A has one constraint was violated

ConstraintMintDecimals: "ConstraintMintDecimals"

A mint decimals constraint was violated

ConstraintMintFreezeAuthority: "ConstraintMintFreezeAuthority"

A mint freeze authority constraint was violated

ConstraintMintMintAuthority: "ConstraintMintMintAuthority"

A mint mint authority constraint was violated

ConstraintMut: "ConstraintMut"

A mut constraint was violated

ConstraintOwner: "ConstraintOwner"

An owner constraint was violated

ConstraintRaw: "ConstraintRaw"

A raw constraint was violated

ConstraintRentExempt: "ConstraintRentExempt"

A rent exemption constraint was violated

ConstraintSeeds: "ConstraintSeeds"

A seeds constraint was violated

ConstraintSigner: "ConstraintSigner"

A signer constraint was violated

ConstraintSpace: "ConstraintSpace"

A space constraint was violated

ConstraintState: "ConstraintState"

Deprecated Error, feel free to replace with something else

ConstraintTokenMint: "ConstraintTokenMint"

A token mint constraint was violated

ConstraintTokenOwner: "ConstraintTokenOwner"

A token owner constraint was violated

ConstraintZero: "ConstraintZero"

Expected zero account discriminant

DeclaredProgramIdMismatch: "DeclaredProgramIdMismatch"

The declared program id does not match the actual program id

Deprecated: "Deprecated"

The API being used is deprecated and should no longer be used

IdlInstructionInvalidProgram: "IdlInstructionInvalidProgram"

The transaction was given an invalid program for the IDL instruction

IdlInstructionStub: "IdlInstructionStub"

The program was compiled without idl instructions

InstructionDidNotDeserialize: "InstructionDidNotDeserialize"

The program could not deserialize the given instruction

InstructionDidNotSerialize: "InstructionDidNotSerialize"

The program could not serialize the given instruction

InstructionFallbackNotFound: "InstructionFallbackNotFound"

Fallback functions are not supported

InstructionMissing: "InstructionMissing"

8 byte instruction identifier not provided

InvalidProgramExecutable: "InvalidProgramExecutable"

Program account is not executable

InvalidProgramId: "InvalidProgramId"

Program ID was not as expected

RequireEqViolated: "RequireEqViolated"

A require_eq expression was violated

RequireGteViolated: "RequireGteViolated"

A require_gte expression was violated

RequireGtViolated: "RequireGtViolated"

A require_gt expression was violated

RequireKeysEqViolated: "RequireKeysEqViolated"

A require_keys_eq expression was violated

RequireKeysNeqViolated: "RequireKeysNeqViolated"

A require_keys_neq expression was violated

RequireNeqViolated: "RequireNeqViolated"

A require_neq expression was violated

RequireViolated: "RequireViolated"

A require expression was violated