AnchorErrorCode
AnchorErrorCode
Defined in: distributor/solana/types.ts:174
Enumeration Members
| Enumeration Member | Value | Description | Defined in |
|---|---|---|---|
AccountDidNotDeserialize | "AccountDidNotDeserialize" | Failed to deserialize the account | distributor/solana/types.ts:250 |
AccountDidNotSerialize | "AccountDidNotSerialize" | Failed to serialize the account | distributor/solana/types.ts:252 |
AccountDiscriminatorAlreadySet | "AccountDiscriminatorAlreadySet" | The account discriminator was already set on this account | distributor/solana/types.ts:244 |
AccountDiscriminatorMismatch | "AccountDiscriminatorMismatch" | 8 byte discriminator did not match what was expected | distributor/solana/types.ts:248 |
AccountDiscriminatorNotFound | "AccountDiscriminatorNotFound" | No 8 byte discriminator was found on the account | distributor/solana/types.ts:246 |
AccountDuplicateReallocs | "AccountDuplicateReallocs" | The account was duplicated for more than one reallocation | distributor/solana/types.ts:278 |
AccountNotAssociatedTokenAccount | "AccountNotAssociatedTokenAccount" | The given account is not the associated token account | distributor/solana/types.ts:272 |
AccountNotEnoughKeys | "AccountNotEnoughKeys" | Not enough account keys given to the instruction | distributor/solana/types.ts:254 |
AccountNotInitialized | "AccountNotInitialized" | The program expected this account to be already initialized | distributor/solana/types.ts:268 |
AccountNotMutable | "AccountNotMutable" | The given account is not mutable | distributor/solana/types.ts:256 |
AccountNotProgramData | "AccountNotProgramData" | The given account is not a program data account | distributor/solana/types.ts:270 |
AccountNotSigner | "AccountNotSigner" | The given account did not sign | distributor/solana/types.ts:264 |
AccountNotSystemOwned | "AccountNotSystemOwned" | The given account is not owned by the system program | distributor/solana/types.ts:266 |
AccountOwnedByWrongProgram | "AccountOwnedByWrongProgram" | The given account is owned by a different program than expected | distributor/solana/types.ts:258 |
AccountReallocExceedsLimit | "AccountReallocExceedsLimit" | The account reallocation exceeds the MAX_PERMITTED_DATA_INCREASE limit | distributor/solana/types.ts:276 |
AccountSysvarMismatch | "AccountSysvarMismatch" | The given public key does not match the required sysvar | distributor/solana/types.ts:274 |
ConstraintAccountIsNone | "ConstraintAccountIsNone" | A required account for the constraint is None | distributor/solana/types.ts:228 |
ConstraintAddress | "ConstraintAddress" | An address constraint was violated | distributor/solana/types.ts:212 |
ConstraintAssociated | "ConstraintAssociated" | An associated constraint was violated | distributor/solana/types.ts:206 |
ConstraintAssociatedInit | "ConstraintAssociatedInit" | An associated init constraint was violated | distributor/solana/types.ts:208 |
ConstraintClose | "ConstraintClose" | A close constraint was violated | distributor/solana/types.ts:210 |
ConstraintExecutable | "ConstraintExecutable" | An executable constraint was violated | distributor/solana/types.ts:202 |
ConstraintHasOne | "ConstraintHasOne" | A has one constraint was violated | distributor/solana/types.ts:190 |
ConstraintMintDecimals | "ConstraintMintDecimals" | A mint decimals constraint was violated | distributor/solana/types.ts:224 |
ConstraintMintFreezeAuthority | "ConstraintMintFreezeAuthority" | A mint freeze authority constraint was violated | distributor/solana/types.ts:222 |
ConstraintMintMintAuthority | "ConstraintMintMintAuthority" | A mint mint authority constraint was violated | distributor/solana/types.ts:220 |
ConstraintMut | "ConstraintMut" | A mut constraint was violated | distributor/solana/types.ts:188 |
ConstraintOwner | "ConstraintOwner" | An owner constraint was violated | distributor/solana/types.ts:196 |
ConstraintRaw | "ConstraintRaw" | A raw constraint was violated | distributor/solana/types.ts:194 |
ConstraintRentExempt | "ConstraintRentExempt" | A rent exemption constraint was violated | distributor/solana/types.ts:198 |
ConstraintSeeds | "ConstraintSeeds" | A seeds constraint was violated | distributor/solana/types.ts:200 |
ConstraintSigner | "ConstraintSigner" | A signer constraint was violated | distributor/solana/types.ts:192 |
ConstraintSpace | "ConstraintSpace" | A space constraint was violated | distributor/solana/types.ts:226 |
ConstraintState | "ConstraintState" | Deprecated Error, feel free to replace with something else | distributor/solana/types.ts:204 |
ConstraintTokenMint | "ConstraintTokenMint" | A token mint constraint was violated | distributor/solana/types.ts:216 |
ConstraintTokenOwner | "ConstraintTokenOwner" | A token owner constraint was violated | distributor/solana/types.ts:218 |
ConstraintZero | "ConstraintZero" | Expected zero account discriminant | distributor/solana/types.ts:214 |
DeclaredProgramIdMismatch | "DeclaredProgramIdMismatch" | The declared program id does not match the actual program id | distributor/solana/types.ts:280 |
Deprecated | "Deprecated" | The API being used is deprecated and should no longer be used | distributor/solana/types.ts:282 |
IdlInstructionInvalidProgram | "IdlInstructionInvalidProgram" | The transaction was given an invalid program for the IDL instruction | distributor/solana/types.ts:186 |
IdlInstructionStub | "IdlInstructionStub" | The program was compiled without idl instructions | distributor/solana/types.ts:184 |
InstructionDidNotDeserialize | "InstructionDidNotDeserialize" | The program could not deserialize the given instruction | distributor/solana/types.ts:180 |
InstructionDidNotSerialize | "InstructionDidNotSerialize" | The program could not serialize the given instruction | distributor/solana/types.ts:182 |
InstructionFallbackNotFound | "InstructionFallbackNotFound" | Fallback functions are not supported | distributor/solana/types.ts:178 |
InstructionMissing | "InstructionMissing" | 8 byte instruction identifier not provided | distributor/solana/types.ts:176 |
InvalidProgramExecutable | "InvalidProgramExecutable" | Program account is not executable | distributor/solana/types.ts:262 |
InvalidProgramId | "InvalidProgramId" | Program ID was not as expected | distributor/solana/types.ts:260 |
RequireEqViolated | "RequireEqViolated" | A require_eq expression was violated | distributor/solana/types.ts:232 |
RequireGteViolated | "RequireGteViolated" | A require_gte expression was violated | distributor/solana/types.ts:242 |
RequireGtViolated | "RequireGtViolated" | A require_gt expression was violated | distributor/solana/types.ts:240 |
RequireKeysEqViolated | "RequireKeysEqViolated" | A require_keys_eq expression was violated | distributor/solana/types.ts:234 |
RequireKeysNeqViolated | "RequireKeysNeqViolated" | A require_keys_neq expression was violated | distributor/solana/types.ts:238 |
RequireNeqViolated | "RequireNeqViolated" | A require_neq expression was violated | distributor/solana/types.ts:236 |
RequireViolated | "RequireViolated" | A require expression was violated | distributor/solana/types.ts:230 |