Proxy::Error
Variant 498 v393pallet_subtensor_proxy::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 (10)
| Index | Name | Fields | Docs |
|---|---|---|---|
| 0 | TooMany | none | There are too many proxies registered or too many announcements pending. |
| 1 | NotFound | none | Proxy registration not found. |
| 2 | NotProxy | none | Sender is not a proxy of the account to be proxied. |
| 3 | Unproxyable | none | A call which is incompatible with the proxy type's filter was attempted. |
| 4 | Duplicate | none | Account is already a proxy. |
| 5 | NoPermission | none | Call may not be made by proxy because it may escalate its privileges. |
| 6 | Unannounced | none | Announcement, if made at all, was made too recently. |
| 7 | NoSelfProxy | none | Cannot add self as proxy. |
| 8 | AnnouncementDepositInvariantViolated | none | Invariant violated: deposit recomputation returned None after updating announcements. |
| 9 | InvalidDerivedAccountId | none | Failed to derive a valid account id from the provided entropy. |
SCALE Encoding
- Rule
- 1-byte variant index followed by variant-specific field data. 10 possible variants.
- Size
- variable (1+ bytes)
Examples
TooMany
0x0000 Variant index 0 = TooManyNotFound
0x0101 Variant index 1 = NotFoundNotProxy
0x0202 Variant index 2 = NotProxyCode Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode Proxy::Error — variant "TooMany"
const value = registry.createType("Proxy::Error", "TooMany");
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
- 498
- Kind
- Variant
- Path
- pallet_subtensor_proxy::pallet::Error
- Runtime
- v393