#[repr(u32)]pub enum Error {
Show 13 variants
AccountEmpty = 0,
AccountFull = 1,
AccountLocked = 2,
MissingRecipientAccountInfo = 3,
FundAccountNotWritable = 4,
FundAccountIsNotEmpty = 5,
InvalidFundAddress = 6,
InvalidFundBumpSeed = 7,
NoSigners = 8,
TooManySigners = 9,
ThresholdTooHigh = 10,
InvalidSigner = 11,
NotEnoughFundBalance = 12,
}Expand description
A multisig program specific error code.
Variants§
AccountEmpty = 0
Multisig State queue is empty.
AccountFull = 1
Multisig State queue is full.
AccountLocked = 2
Multisig State account is locked.
MissingRecipientAccountInfo = 3
Missing transfer recipient AccountInfo.
FundAccountNotWritable = 4
Multisig Fund account is not writable.
FundAccountIsNotEmpty = 5
Multisig Fund account data is not empty“)]
InvalidFundAddress = 6
Invalid Multisig Fund PDA.
InvalidFundBumpSeed = 7
Invalid Multisig Fund account bump.
NoSigners = 8
No signers.
TooManySigners = 9
Too many signers provided.
ThresholdTooHigh = 10
The threshold, e.g. m, is too high.
InvalidSigner = 11
Invalid signer given.
NotEnoughFundBalance = 12
Not enough Fund balance.
Implementations§
Trait Implementations§
impl Copy for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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