Enum solana_storage_proto::convert::tx_by_addr::InstructionErrorType [−][src]
#[repr(i32)]
pub enum InstructionErrorType {
Show 50 variants
GenericError,
InvalidArgument,
InvalidInstructionData,
InvalidAccountData,
AccountDataTooSmall,
InsufficientFunds,
IncorrectProgramId,
MissingRequiredSignature,
AccountAlreadyInitialized,
UninitializedAccount,
UnbalancedInstruction,
ModifiedProgramId,
ExternalAccountLamportSpend,
ExternalAccountDataModified,
ReadonlyLamportChange,
ReadonlyDataModified,
DuplicateAccountIndex,
ExecutableModified,
RentEpochModified,
NotEnoughAccountKeys,
AccountDataSizeChanged,
AccountNotExecutable,
AccountBorrowFailed,
AccountBorrowOutstanding,
DuplicateAccountOutOfSync,
Custom,
InvalidError,
ExecutableDataModified,
ExecutableLamportChange,
ExecutableAccountNotRentExempt,
UnsupportedProgramId,
CallDepth,
MissingAccount,
ReentrancyNotAllowed,
MaxSeedLengthExceeded,
InvalidSeeds,
InvalidRealloc,
ComputationalBudgetExceeded,
PrivilegeEscalation,
ProgramEnvironmentSetupFailure,
ProgramFailedToComplete,
ProgramFailedToCompile,
Immutable,
IncorrectAuthority,
BorshIoError,
AccountNotRentExempt,
InvalidAccountOwner,
ArithmeticOverflow,
UnsupportedSysvar,
IllegalOwner,
}
Variants
GenericError
InvalidArgument
InvalidInstructionData
InvalidAccountData
AccountDataTooSmall
InsufficientFunds
IncorrectProgramId
MissingRequiredSignature
AccountAlreadyInitialized
UninitializedAccount
UnbalancedInstruction
ModifiedProgramId
ExternalAccountLamportSpend
ExternalAccountDataModified
ReadonlyLamportChange
ReadonlyDataModified
DuplicateAccountIndex
ExecutableModified
RentEpochModified
NotEnoughAccountKeys
AccountDataSizeChanged
AccountNotExecutable
AccountBorrowFailed
AccountBorrowOutstanding
DuplicateAccountOutOfSync
Custom
InvalidError
ExecutableDataModified
ExecutableLamportChange
ExecutableAccountNotRentExempt
UnsupportedProgramId
CallDepth
MissingAccount
ReentrancyNotAllowed
MaxSeedLengthExceeded
InvalidSeeds
InvalidRealloc
ComputationalBudgetExceeded
PrivilegeEscalation
ProgramEnvironmentSetupFailure
ProgramFailedToComplete
ProgramFailedToCompile
Immutable
IncorrectAuthority
BorshIoError
AccountNotRentExempt
InvalidAccountOwner
ArithmeticOverflow
UnsupportedSysvar
IllegalOwner
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for InstructionErrorType
impl Send for InstructionErrorType
impl Sync for InstructionErrorType
impl Unpin for InstructionErrorType
impl UnwindSafe for InstructionErrorType
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more