#[repr(u32)]pub enum SssError {
Show 35 variants
Unauthorized = 0,
InvalidAuthority = 1,
ProgramPaused = 2,
ProgramNotPaused = 3,
MinterNotActive = 4,
MintQuotaExceeded = 5,
MintAmountZero = 6,
BurnAmountZero = 7,
InsufficientBalance = 8,
FeatureNotEnabled = 9,
BlacklistNotEnabled = 10,
TransferHookNotEnabled = 11,
ConfidentialTransfersNotEnabled = 12,
CustomFlagsMissing = 13,
CannotBlacklistAuthority = 14,
RecipientBlacklisted = 15,
NameTooLong = 16,
SymbolTooLong = 17,
UriTooLong = 18,
ReasonTooLong = 19,
AllowlistReasonTooLong = 20,
DetailsTooLong = 21,
InvalidDecimals = 22,
SameAuthority = 23,
ZeroAuthority = 24,
NoPendingAuthority = 25,
NotPendingAuthority = 26,
SeizeAmountZero = 27,
SeizeSameAccount = 28,
InsufficientReserves = 29,
InvalidHookProgram = 30,
AllowlistEntryExists = 31,
AllowlistEntryNotFound = 32,
SupplyCapExceeded = 33,
Overflow = 34,
}Variants§
InvalidAuthority = 1
ProgramPaused = 2
ProgramNotPaused = 3
MinterNotActive = 4
MintQuotaExceeded = 5
MintAmountZero = 6
BurnAmountZero = 7
InsufficientBalance = 8
FeatureNotEnabled = 9
BlacklistNotEnabled = 10
TransferHookNotEnabled = 11
ConfidentialTransfersNotEnabled = 12
CustomFlagsMissing = 13
CannotBlacklistAuthority = 14
RecipientBlacklisted = 15
NameTooLong = 16
SymbolTooLong = 17
UriTooLong = 18
ReasonTooLong = 19
AllowlistReasonTooLong = 20
DetailsTooLong = 21
InvalidDecimals = 22
SameAuthority = 23
ZeroAuthority = 24
NoPendingAuthority = 25
NotPendingAuthority = 26
SeizeAmountZero = 27
SeizeSameAccount = 28
InsufficientReserves = 29
InvalidHookProgram = 30
AllowlistEntryExists = 31
AllowlistEntryNotFound = 32
SupplyCapExceeded = 33
Overflow = 34
Implementations§
Trait Implementations§
impl Copy for SssError
Auto Trait Implementations§
impl Freeze for SssError
impl RefUnwindSafe for SssError
impl Send for SssError
impl Sync for SssError
impl Unpin for SssError
impl UnsafeUnpin for SssError
impl UnwindSafe for SssError
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