#[repr(u32)]pub enum ErrorCode {
Show 21 variants
PublicKeyAmountMissmatch = 0,
ComputeInputSumFailed = 1,
ComputeOutputSumFailed = 2,
ComputeCompressSumFailed = 3,
ComputeDecompressSumFailed = 4,
SumCheckFailed = 5,
DecompressRecipientUndefinedForDecompress = 6,
CompressedPdaUndefinedForDecompress = 7,
DeCompressAmountUndefinedForDecompress = 8,
CompressedPdaUndefinedForCompress = 9,
DeCompressAmountUndefinedForCompress = 10,
DelegateSignerCheckFailed = 11,
MintTooLarge = 12,
SplTokenSupplyMismatch = 13,
HeapMemoryCheckFailed = 14,
InstructionNotCallable = 15,
ArithmeticUnderflow = 16,
HashToFieldError = 17,
InvalidAuthorityMint = 18,
InvalidFreezeAuthority = 19,
InvalidDelegateIndex = 20,
}Variants§
PublicKeyAmountMissmatch = 0
ComputeInputSumFailed = 1
ComputeOutputSumFailed = 2
ComputeCompressSumFailed = 3
ComputeDecompressSumFailed = 4
SumCheckFailed = 5
DecompressRecipientUndefinedForDecompress = 6
CompressedPdaUndefinedForDecompress = 7
DeCompressAmountUndefinedForDecompress = 8
CompressedPdaUndefinedForCompress = 9
DeCompressAmountUndefinedForCompress = 10
DelegateSignerCheckFailed = 11
MintTooLarge = 12
SplTokenSupplyMismatch = 13
HeapMemoryCheckFailed = 14
InstructionNotCallable = 15
ArithmeticUnderflow = 16
HashToFieldError = 17
InvalidAuthorityMint = 18
InvalidFreezeAuthority = 19
InvalidDelegateIndex = 20
Implementations§
Trait Implementations§
impl Copy for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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