#[repr(u32)]pub enum MultisigError {
Show 40 variants
DuplicateMember = 0,
EmptyMembers = 1,
TooManyMembers = 2,
InvalidThreshold = 3,
Unauthorized = 4,
NotAMember = 5,
InvalidTransactionMessage = 6,
StaleProposal = 7,
InvalidProposalStatus = 8,
InvalidTransactionIndex = 9,
AlreadyApproved = 10,
AlreadyRejected = 11,
AlreadyCancelled = 12,
InvalidNumberOfAccounts = 13,
InvalidAccount = 14,
RemoveLastMember = 15,
NoVoters = 16,
NoProposers = 17,
NoExecutors = 18,
InvalidStaleTransactionIndex = 19,
NotSupportedForControlled = 20,
TimeLockNotReleased = 21,
NoActions = 22,
MissingAccount = 23,
InvalidMint = 24,
InvalidDestination = 25,
SpendingLimitExceeded = 26,
DecimalsMismatch = 27,
UnknownPermission = 28,
ProtectedAccount = 29,
TimeLockExceedsMaxAllowed = 30,
IllegalAccountOwner = 31,
RentReclamationDisabled = 32,
InvalidRentCollector = 33,
ProposalForAnotherMultisig = 34,
TransactionForAnotherMultisig = 35,
TransactionNotMatchingProposal = 36,
TransactionNotLastInBatch = 37,
BatchNotEmpty = 38,
SpendingLimitInvalidAmount = 39,
}Variants§
DuplicateMember = 0
EmptyMembers = 1
TooManyMembers = 2
InvalidThreshold = 3
NotAMember = 5
InvalidTransactionMessage = 6
StaleProposal = 7
InvalidProposalStatus = 8
InvalidTransactionIndex = 9
AlreadyApproved = 10
AlreadyRejected = 11
AlreadyCancelled = 12
InvalidNumberOfAccounts = 13
InvalidAccount = 14
RemoveLastMember = 15
NoVoters = 16
NoProposers = 17
NoExecutors = 18
InvalidStaleTransactionIndex = 19
NotSupportedForControlled = 20
TimeLockNotReleased = 21
NoActions = 22
MissingAccount = 23
InvalidMint = 24
InvalidDestination = 25
SpendingLimitExceeded = 26
DecimalsMismatch = 27
UnknownPermission = 28
ProtectedAccount = 29
TimeLockExceedsMaxAllowed = 30
IllegalAccountOwner = 31
RentReclamationDisabled = 32
InvalidRentCollector = 33
ProposalForAnotherMultisig = 34
TransactionForAnotherMultisig = 35
TransactionNotMatchingProposal = 36
TransactionNotLastInBatch = 37
BatchNotEmpty = 38
SpendingLimitInvalidAmount = 39
Implementations§
Trait Implementations§
Source§impl Clone for MultisigError
impl Clone for MultisigError
Source§fn clone(&self) -> MultisigError
fn clone(&self) -> MultisigError
Returns a duplicate 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 MultisigError
impl Debug for MultisigError
Source§impl Display for MultisigError
impl Display for MultisigError
Source§impl From<MultisigError> for Error
impl From<MultisigError> for Error
Source§fn from(error_code: MultisigError) -> Error
fn from(error_code: MultisigError) -> Error
Converts to this type from the input type.
Source§impl From<MultisigError> for u32
impl From<MultisigError> for u32
Source§fn from(e: MultisigError) -> u32
fn from(e: MultisigError) -> u32
Converts to this type from the input type.
impl Copy for MultisigError
Auto Trait Implementations§
impl Freeze for MultisigError
impl RefUnwindSafe for MultisigError
impl Send for MultisigError
impl Sync for MultisigError
impl Unpin for MultisigError
impl UnwindSafe for MultisigError
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