Multisig::Error

Variant 471 v393

pallet_multisig::pallet::Error

The `Error` enum of this pallet.

About This Type

Error enum for the Error pallet.

Contains all error types that the Error pallet can return when a call fails.

Variants (14)

IndexNameFieldsDocs
0MinimumThresholdnoneThreshold must be 2 or greater.
1AlreadyApprovednoneCall is already approved by this signatory.
2NoApprovalsNeedednoneCall doesn't need any (more) approvals.
3TooFewSignatoriesnoneThere are too few signatories in the list.
4TooManySignatoriesnoneThere are too many signatories in the list.
5SignatoriesOutOfOrdernoneThe signatories were provided out of order; they should be ordered.
6SenderInSignatoriesnoneThe sender was contained in the other signatories; it shouldn't be.
7NotFoundnoneMultisig operation not found in storage.
8NotOwnernoneOnly the account that originally created the multisig is able to cancel it or update its deposits.
9NoTimepointnoneNo timepoint was given, yet the multisig operation is already underway.
10WrongTimepointnoneA different timepoint was given to the multisig operation that is underway.
11UnexpectedTimepointnoneA timepoint was given, yet no multisig operation is underway.
12MaxWeightTooLownoneThe maximum weight information provided was too low.
13AlreadyStorednoneThe data to be stored is already stored.

SCALE Encoding

Rule
1-byte variant index followed by variant-specific field data. 14 possible variants.
Size
variable (1+ bytes)

Examples

MinimumThreshold
0x00
00 Variant index 0 = MinimumThreshold
AlreadyApproved
0x01
01 Variant index 1 = AlreadyApproved
NoApprovalsNeeded
0x02
02 Variant index 2 = NoApprovalsNeeded

Code Examples

import { TypeRegistry } from "@polkadot/types";

const registry = new TypeRegistry();

// Encode Multisig::Error — variant "MinimumThreshold"
const value = registry.createType("Multisig::Error", "MinimumThreshold");
console.log("Hex:", value.toHex());

Type Parameters

T

Referenced By (21)

and 1 more...

Also See

Type Information

Type ID
471
Kind
Variant
Path
pallet_multisig::pallet::Error
Runtime
v393