import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/errors' { interface AugmentedErrors { authorship: { /** * The uncle is genesis. **/ GenesisUncle: AugmentedError; /** * The uncle parent not in the chain. **/ InvalidUncleParent: AugmentedError; /** * The uncle isn't recent enough to be included. **/ OldUncle: AugmentedError; /** * The uncle is too high in chain. **/ TooHighUncle: AugmentedError; /** * Too many uncles. **/ TooManyUncles: AugmentedError; /** * The uncle is already included. **/ UncleAlreadyIncluded: AugmentedError; /** * Uncles already set in the block. **/ UnclesAlreadySet: AugmentedError; }; balances: { /** * Beneficiary account must pre-exist **/ DeadAccount: AugmentedError; /** * A vesting schedule already exists for this account **/ ExistingVestingSchedule: AugmentedError; /** * Self documented error code **/ NotAllowedToChangeBalance: AugmentedError; /** * Got an overflow after adding or subtracting balance **/ Overflow: AugmentedError; /** * Self documented error code **/ TransfersIsDisabled: AugmentedError; }; claim: { /** * Invalid Ethereum signature **/ InvalidEthereumSignature: AugmentedError; /** * A needed statement was not included. **/ InvalidStatement: AugmentedError; /** * There's not enough in the pot to pay out some unvested amount. Generally * implies a logic error **/ PotUnderflow: AugmentedError; /** * Account sending transaction has no claim **/ SenderHasNoClaim: AugmentedError; /** * Ethereum address has no claim **/ SignerHasNoClaim: AugmentedError; /** * The account already has a vested balance **/ VestedBalanceExists: AugmentedError; }; eqSessionManager: { /** * Validator was not added because he is already active **/ AlreadyAdded: AugmentedError; /** * Validator was not removed: there is no active validator with this id **/ AlreadyRemoved: AugmentedError; /** * Validator was not added because validator is not registered **/ NotRegistered: AugmentedError; }; eqVesting: { /** * Amount being transferred is too low to create a vesting schedule **/ AmountLow: AugmentedError; /** * An existing vesting schedule already exists for this account that cannot be clobbered **/ ExistingVestingSchedule: AugmentedError; /** * The account given is not vesting **/ NotVesting: AugmentedError; /** * Self documented error code **/ TransfersIsDisabled: AugmentedError; }; grandpa: { /** * Attempt to signal GRANDPA change with one already pending. **/ ChangePending: AugmentedError; /** * A given equivocation report is valid but already previously reported. **/ DuplicateOffenceReport: AugmentedError; /** * An equivocation proof provided as part of an equivocation report is invalid. **/ InvalidEquivocationProof: AugmentedError; /** * A key ownership proof provided as part of an equivocation report is invalid. **/ InvalidKeyOwnershipProof: AugmentedError; /** * Attempt to signal GRANDPA pause when the authority set isn't live * (either paused or already pending pause). **/ PauseFailed: AugmentedError; /** * Attempt to signal GRANDPA resume when the authority set isn't paused * (either live or already pending resume). **/ ResumeFailed: AugmentedError; /** * Cannot signal forced change so soon after last. **/ TooSoon: AugmentedError; }; session: { /** * Registered duplicate key. **/ DuplicatedKey: AugmentedError; /** * Invalid ownership proof. **/ InvalidProof: AugmentedError; /** * No associated validator ID for account. **/ NoAssociatedValidatorId: AugmentedError; /** * No keys are associated with this account. **/ NoKeys: AugmentedError; }; sudo: { /** * Sender must be the Sudo account **/ RequireSudo: AugmentedError; }; system: { /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. **/ FailedToExtractRuntimeVersion: AugmentedError; /** * The name of specification does not match between the current runtime * and the new runtime. **/ InvalidSpecName: AugmentedError; /** * Suicide called when the account has non-default composite data. **/ NonDefaultComposite: AugmentedError; /** * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; }; } interface DecoratedErrors extends AugmentedErrors { } }