Enum polymesh_api::polymesh::types::pallet_multisig::MultiSigError
source · pub enum MultiSigError {
Show 26 variants
CddMissing,
ProposalMissing,
DecodingError,
NoSigners,
RequiredSignaturesOutOfBounds,
NotASigner,
NoSuchMultisig,
NotEnoughSigners,
NonceOverflow,
AlreadyVoted,
AlreadyASigner,
FailedToChargeFee,
IdentityNotCreator,
ChangeNotAllowed,
SignerAlreadyLinkedToMultisig,
SignerAlreadyLinkedToIdentity,
MultisigNotAllowedToLinkToItself,
MissingCurrentIdentity,
NotPrimaryKey,
ProposalAlreadyRejected,
ProposalExpired,
ProposalAlreadyExecuted,
MultisigMissingIdentity,
FailedToSchedule,
TooManySigners,
CreatorControlsHaveBeenRemoved,
}Expand description
Multisig module errors.
Variants§
CddMissing
The multisig is not attached to a CDD’d identity.
ProposalMissing
The proposal does not exist.
DecodingError
Multisig address.
NoSigners
No signers.
RequiredSignaturesOutOfBounds
Too few or too many required signatures.
NotASigner
Not a signer.
NoSuchMultisig
No such multisig.
NotEnoughSigners
Not enough signers.
NonceOverflow
A nonce overflow.
AlreadyVoted
Already voted.
AlreadyASigner
Already a signer.
FailedToChargeFee
Couldn’t charge fee for the transaction.
IdentityNotCreator
Identity provided is not the multisig’s creator.
ChangeNotAllowed
Changing multisig parameters not allowed since multisig is a primary key.
SignerAlreadyLinkedToMultisig
Signer is an account key that is already associated with a multisig.
SignerAlreadyLinkedToIdentity
Signer is an account key that is already associated with an identity.
MultisigNotAllowedToLinkToItself
Multisig not allowed to add itself as a signer.
MissingCurrentIdentity
Current DID is missing
NotPrimaryKey
The function can only be called by the primary key of the did
ProposalAlreadyRejected
Proposal was rejected earlier
ProposalExpired
Proposal has expired
ProposalAlreadyExecuted
Proposal was executed earlier
MultisigMissingIdentity
Multisig is not attached to an identity
FailedToSchedule
Scheduling of a proposal fails
TooManySigners
More signers than required.
CreatorControlsHaveBeenRemoved
The creator is no longer allowed to call via creator extrinsics.
Implementations§
source§impl MultiSigError
impl MultiSigError
pub fn as_static_str(&self) -> &'static str
Trait Implementations§
source§impl Clone for MultiSigError
impl Clone for MultiSigError
source§fn clone(&self) -> MultiSigError
fn clone(&self) -> MultiSigError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MultiSigError
impl Debug for MultiSigError
source§impl Decode for MultiSigError
impl Decode for MultiSigError
source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>
source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
source§impl<'de> Deserialize<'de> for MultiSigError
impl<'de> Deserialize<'de> for MultiSigError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Encode for MultiSigError
impl Encode for MultiSigError
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
source§impl EnumInfo for MultiSigError
impl EnumInfo for MultiSigError
source§impl From<&MultiSigError> for &'static str
impl From<&MultiSigError> for &'static str
source§fn from(v: &MultiSigError) -> Self
fn from(v: &MultiSigError) -> Self
source§impl From<MultiSigError> for &'static str
impl From<MultiSigError> for &'static str
source§fn from(v: MultiSigError) -> Self
fn from(v: MultiSigError) -> Self
source§impl PartialEq for MultiSigError
impl PartialEq for MultiSigError
source§fn eq(&self, other: &MultiSigError) -> bool
fn eq(&self, other: &MultiSigError) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for MultiSigError
impl Serialize for MultiSigError
impl EncodeLike for MultiSigError
impl Eq for MultiSigError
impl StructuralEq for MultiSigError
impl StructuralPartialEq for MultiSigError
Auto Trait Implementations§
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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
source§impl<T> DecodeLimit for Twhere
T: Decode,
impl<T> DecodeLimit for Twhere
T: Decode,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T.