TransactionError enum
Constructors
- TransactionError()
-
const
Values
- accountInUse → const TransactionError
-
An account is already being processed in another transaction in a way that does not support parallelism
- accountLoadedTwice → const TransactionError
-
A
Pubkey
appears twice in the transaction’saccount_keys
. Instructions can referencePubkey
s more than once but the message must contain a list with no duplicate keys. - accountNotFound → const TransactionError
-
Attempt to debit an account but found no record of a prior credit.
- programAccountNotFound → const TransactionError
-
Attempt to load a program that does not exist.
- insufficientFundsForFee → const TransactionError
-
The from
Pubkey
does not have sufficient balance to pay the fee to schedule the transaction. - invalidAccountForFee → const TransactionError
-
This account may not be used to pay transaction fees.
- alreadyProcessed → const TransactionError
-
The bank has seen this transaction before. This can occur under normal operation when a UDP packet is duplicated, as a user error from a client not updating its
recent_blockhash
, or as a double-spend attack. - blockhashNotFound → const TransactionError
-
The bank has not seen the given
recent_blockhash
or the transaction is too old and therecent_blockhash
has been discarded. - instructionError → const TransactionError
-
An error occurred while processing an instruction.
- callChainTooDeep → const TransactionError
-
Loader call chain is too deep.
- missingSignatureForFee → const TransactionError
-
Transaction requires a fee but has no signature present.
- invalidAccountIndex → const TransactionError
-
Transaction contains an invalid account reference.
- signatureFailure → const TransactionError
-
Transaction did not pass signature verification.
- invalidProgramForExecution → const TransactionError
-
This program may not be used for executing instructions.
- sanitizeFailure → const TransactionError
-
Transaction failed to sanitize accounts offsets correctly implies that account locks are not taken for this TX, and should not be unlocked.
- clusterMaintenance → const TransactionError
- accountBorrowOutstanding → const TransactionError
-
Transaction processing left an account with an outstanding borrowed reference.
- other → const TransactionError
-
Unknown error.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TransactionError> - A constant List of the values in this enum, in order of their declaration.