Multisig::Error
Variant 471 v393pallet_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)
| Index | Name | Fields | Docs |
|---|---|---|---|
| 0 | MinimumThreshold | none | Threshold must be 2 or greater. |
| 1 | AlreadyApproved | none | Call is already approved by this signatory. |
| 2 | NoApprovalsNeeded | none | Call doesn't need any (more) approvals. |
| 3 | TooFewSignatories | none | There are too few signatories in the list. |
| 4 | TooManySignatories | none | There are too many signatories in the list. |
| 5 | SignatoriesOutOfOrder | none | The signatories were provided out of order; they should be ordered. |
| 6 | SenderInSignatories | none | The sender was contained in the other signatories; it shouldn't be. |
| 7 | NotFound | none | Multisig operation not found in storage. |
| 8 | NotOwner | none | Only the account that originally created the multisig is able to cancel it or update its deposits. |
| 9 | NoTimepoint | none | No timepoint was given, yet the multisig operation is already underway. |
| 10 | WrongTimepoint | none | A different timepoint was given to the multisig operation that is underway. |
| 11 | UnexpectedTimepoint | none | A timepoint was given, yet no multisig operation is underway. |
| 12 | MaxWeightTooLow | none | The maximum weight information provided was too low. |
| 13 | AlreadyStored | none | The 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
0x0000 Variant index 0 = MinimumThresholdAlreadyApproved
0x0101 Variant index 1 = AlreadyApprovedNoApprovalsNeeded
0x0202 Variant index 2 = NoApprovalsNeededCode 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)
#726 RuntimeError via System#726 RuntimeError via Grandpa#726 RuntimeError via Balances#726 RuntimeError via SubtensorModule#726 RuntimeError via Utility#726 RuntimeError via Sudo#726 RuntimeError via Multisig#726 RuntimeError via Preimage#726 RuntimeError via Scheduler#726 RuntimeError via Proxy#726 RuntimeError via Registry#726 RuntimeError via Commitments#726 RuntimeError via AdminUtils#726 RuntimeError via SafeMode#726 RuntimeError via Ethereum#726 RuntimeError via EVM#726 RuntimeError via Drand#726 RuntimeError via Crowdloan#726 RuntimeError via Swap#726 RuntimeError via Contracts
and 1 more...
Also See
Type Information
- Type ID
- 471
- Kind
- Variant
- Path
- pallet_multisig::pallet::Error
- Runtime
- v393