Error codes raised by Solana protocol specifically

Enumeration Members

AccountsNotWritable: "AccountsNotWritable"

Accounts not writable

AlreadyPaused: "AlreadyPaused"

Contract is already paused

AmountAvailableIsZero: "AmountAvailableIsZero"

Amount currently available is zero

AmountIsZero: "AmountIsZero"

Amount cannot be zero

AmountMoreThanAvailable: "AmountMoreThanAvailable"

Amount requested is larger than available

ArithmeticError: "ArithmeticError"

Arithmetic error

ContractClosed: "ContractClosed"

Contract closed

InvalidDepositConfiguration: "InvalidDepositConfiguration"

Invalid deposit configuration

InvalidEscrowAccount: "InvalidEscrowAccount"

Invalid escrow account

InvalidMetadata: "InvalidMetadata"

Invalid Metadata

InvalidMetadataAccount: "InvalidMetadataAccount"

Invalid metadata account

InvalidMetadataSize: "InvalidMetadataSize"

Metadata account data must be 1104 bytes long

InvalidTimestamps: "InvalidTimestamps"

Given timestamps are invalid

InvalidTreasury: "InvalidTreasury"

Invalid Streamflow Treasury accounts supplied

MetadataAccountMismatch: "MetadataAccountMismatch"

Provided accounts don't match the ones in contract

MetadataNotRentExempt: "MetadataNotRentExempt"

Meta account is not rent exempt

MintMismatch: "MintMismatch"

Sender mint does not match accounts mint

NotAssociated: "NotAssociated"

Provided account(s) is/are not valid associated token accounts

NotPaused: "NotPaused"

Contract is not paused

SelfTransfer: "SelfTransfer"

Contract is not transferable to the original recipient

TransferNotAllowed: "TransferNotAllowed"

Recipient not transferable for account

Unauthorized: "Unauthorized"

Authority does not have permission for this action

UninitializedMetadata: "UninitializedMetadata"

Metadata state account must be initialized