#[repr(u32)]pub enum SystemProgramError {
Show 34 variants
SumCheckFailed = 0,
SignerCheckFailed = 1,
CpiSignerCheckFailed = 2,
ComputeInputSumFailed = 3,
ComputeOutputSumFailed = 4,
ComputeRpcSumFailed = 5,
InvalidAddress = 6,
DeriveAddressError = 7,
CompressedSolPdaUndefinedForCompressSol = 8,
DeCompressLamportsUndefinedForCompressSol = 9,
CompressedSolPdaUndefinedForDecompressSol = 10,
DeCompressLamportsUndefinedForDecompressSol = 11,
DecompressRecipientUndefinedForDecompressSol = 12,
WriteAccessCheckFailed = 13,
InvokingProgramNotProvided = 14,
InvalidCapacity = 15,
InvalidMerkleTreeOwner = 16,
ProofIsNone = 17,
ProofIsSome = 18,
EmptyInputs = 19,
CpiContextAccountUndefined = 20,
CpiContextEmpty = 21,
CpiContextMissing = 22,
DecompressionRecipientDefined = 23,
SolPoolPdaDefined = 24,
AppendStateFailed = 25,
InstructionNotCallable = 26,
CpiContextFeePayerMismatch = 27,
CpiContextAssociatedMerkleTreeMismatch = 28,
NoInputs = 29,
InputMerkleTreeIndicesNotInOrder = 30,
OutputMerkleTreeIndicesNotInOrder = 31,
OutputMerkleTreeNotUnique = 32,
DataFieldUndefined = 33,
}
Variants§
SumCheckFailed = 0
SignerCheckFailed = 1
CpiSignerCheckFailed = 2
ComputeInputSumFailed = 3
ComputeOutputSumFailed = 4
ComputeRpcSumFailed = 5
InvalidAddress = 6
DeriveAddressError = 7
CompressedSolPdaUndefinedForCompressSol = 8
DeCompressLamportsUndefinedForCompressSol = 9
CompressedSolPdaUndefinedForDecompressSol = 10
DeCompressLamportsUndefinedForDecompressSol = 11
DecompressRecipientUndefinedForDecompressSol = 12
WriteAccessCheckFailed = 13
InvokingProgramNotProvided = 14
InvalidCapacity = 15
InvalidMerkleTreeOwner = 16
ProofIsNone = 17
ProofIsSome = 18
EmptyInputs = 19
CpiContextAccountUndefined = 20
CpiContextEmpty = 21
CpiContextMissing = 22
DecompressionRecipientDefined = 23
SolPoolPdaDefined = 24
AppendStateFailed = 25
InstructionNotCallable = 26
CpiContextFeePayerMismatch = 27
CpiContextAssociatedMerkleTreeMismatch = 28
NoInputs = 29
InputMerkleTreeIndicesNotInOrder = 30
OutputMerkleTreeIndicesNotInOrder = 31
OutputMerkleTreeNotUnique = 32
DataFieldUndefined = 33
Implementations§
Trait Implementations§
Source§impl Clone for SystemProgramError
impl Clone for SystemProgramError
Source§fn clone(&self) -> SystemProgramError
fn clone(&self) -> SystemProgramError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SystemProgramError
impl Debug for SystemProgramError
Source§impl Display for SystemProgramError
impl Display for SystemProgramError
Source§impl From<SystemProgramError> for Error
impl From<SystemProgramError> for Error
Source§fn from(error_code: SystemProgramError) -> Error
fn from(error_code: SystemProgramError) -> Error
Converts to this type from the input type.
Source§impl From<SystemProgramError> for u32
impl From<SystemProgramError> for u32
Source§fn from(e: SystemProgramError) -> u32
fn from(e: SystemProgramError) -> u32
Converts to this type from the input type.
impl Copy for SystemProgramError
Auto Trait Implementations§
impl Freeze for SystemProgramError
impl RefUnwindSafe for SystemProgramError
impl Send for SystemProgramError
impl Sync for SystemProgramError
impl Unpin for SystemProgramError
impl UnwindSafe for SystemProgramError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more