Skip to main content

Errors

This page lists the errors that can be encountered in the different modules.

(NOTE: These were generated from a static/snapshot view of a recent default asset-hub-kusama runtime. Some items may not be available in older nodes, or in any customized implementations.)


ahMigrator

BadXcmVersion

  • interface: api.errors.ahMigrator.BadXcmVersion.is
  • summary: The XCM version is invalid.

DmpQueuePriorityAlreadySet

  • interface: api.errors.ahMigrator.DmpQueuePriorityAlreadySet.is
  • summary: The DMP queue priority is already set to the same value.

FailedToBoundCall

  • interface: api.errors.ahMigrator.FailedToBoundCall.is
  • summary: Failed to bound a call.

FailedToBoundVector

  • interface: api.errors.ahMigrator.FailedToBoundVector.is
  • summary: Vector did not fit into its compile-time bound.

FailedToCalculateCheckingAccount

  • interface: api.errors.ahMigrator.FailedToCalculateCheckingAccount.is
  • summary: Checking account overflow or underflow.

FailedToConvertCall

  • interface: api.errors.ahMigrator.FailedToConvertCall.is
  • summary: Failed to convert RC call to AH call.

FailedToConvertType

  • interface: api.errors.ahMigrator.FailedToConvertType.is
  • summary: Failed to convert RC type to AH type.

FailedToIntegrateVestingSchedule

  • interface: api.errors.ahMigrator.FailedToIntegrateVestingSchedule.is
  • summary: Failed to integrate a vesting schedule.

FailedToProcessAccount

  • interface: api.errors.ahMigrator.FailedToProcessAccount.is
  • summary: Failed to process an account data from RC.

FailedToUnreserveDeposit

  • interface: api.errors.ahMigrator.FailedToUnreserveDeposit.is
  • summary: Failed to unreserve deposit.

InsertConflict

  • interface: api.errors.ahMigrator.InsertConflict.is
  • summary: Some item could not be inserted because it already exists.

InvalidOrigin

  • interface: api.errors.ahMigrator.InvalidOrigin.is
  • summary: The origin is invalid.

InvalidParameter

  • interface: api.errors.ahMigrator.InvalidParameter.is
  • summary: Invalid parameter.

PreimageChunkMissing

  • interface: api.errors.ahMigrator.PreimageChunkMissing.is
  • summary: Preimage chunk missing.

PreimageMissing

  • interface: api.errors.ahMigrator.PreimageMissing.is
  • summary: Preimage missing.

PreimageNotFound

  • interface: api.errors.ahMigrator.PreimageNotFound.is
  • summary: Failed to fetch preimage.

PreimageStatusInvalid

  • interface: api.errors.ahMigrator.PreimageStatusInvalid.is
  • summary: Preimage status invalid.

PreimageTooBig

  • interface: api.errors.ahMigrator.PreimageTooBig.is
  • summary: Preimage too big.

XcmError

  • interface: api.errors.ahMigrator.XcmError.is
  • summary: Failed to send XCM message.

ahOps

ContributionsRemaining

  • interface: api.errors.ahOps.ContributionsRemaining.is
  • summary: Not all contributions are withdrawn.

FailedToWithdrawCrowdloanContribution

  • interface: api.errors.ahOps.FailedToWithdrawCrowdloanContribution.is
  • summary: Failed to withdraw crowdloan contribution.

InternalError

  • interface: api.errors.ahOps.InternalError.is
  • summary: Internal error, please bug report.

MigrationNotCompleted

  • interface: api.errors.ahOps.MigrationNotCompleted.is
  • summary: The Asset Hub migration is not completed.

NoCrowdloanContribution

  • interface: api.errors.ahOps.NoCrowdloanContribution.is
  • summary: Either no crowdloan contribution or already withdrawn.

NoCrowdloanReserve

  • interface: api.errors.ahOps.NoCrowdloanReserve.is
  • summary: Either no crowdloan reserve or already unreserved.

NoLeaseReserve

  • interface: api.errors.ahOps.NoLeaseReserve.is
  • summary: Either no lease deposit or already unreserved.

NotSovereign

  • interface: api.errors.ahOps.NotSovereign.is
  • summary: Account cannot be migrated since it is not a sovereign parachain account.

NotYet

  • interface: api.errors.ahOps.NotYet.is
  • summary: Block number is not yet reached.

WrongDerivedTranslation

  • interface: api.errors.ahOps.WrongDerivedTranslation.is
  • summary: The account is not a derived account.

ZeroBalance

  • interface: api.errors.ahOps.ZeroBalance.is
  • summary: The balance is zero.

assetConversion

AmountOneLessThanMinimal

  • interface: api.errors.assetConversion.AmountOneLessThanMinimal.is
  • summary: Provided amount should be greater than or equal to the existential deposit/asset's minimal amount.

AmountOutTooHigh

  • interface: api.errors.assetConversion.AmountOutTooHigh.is
  • summary: Desired amount can't be equal to the pool reserve.

AmountTwoLessThanMinimal

  • interface: api.errors.assetConversion.AmountTwoLessThanMinimal.is
  • summary: Provided amount should be greater than or equal to the existential deposit/asset's minimal amount.

AssetOneDepositDidNotMeetMinimum

  • interface: api.errors.assetConversion.AssetOneDepositDidNotMeetMinimum.is
  • summary: The minimal amount requirement for the first token in the pair wasn't met.

AssetOneWithdrawalDidNotMeetMinimum

  • interface: api.errors.assetConversion.AssetOneWithdrawalDidNotMeetMinimum.is
  • summary: The minimal amount requirement for the first token in the pair wasn't met.

AssetTwoDepositDidNotMeetMinimum

  • interface: api.errors.assetConversion.AssetTwoDepositDidNotMeetMinimum.is
  • summary: The minimal amount requirement for the second token in the pair wasn't met.

AssetTwoWithdrawalDidNotMeetMinimum

  • interface: api.errors.assetConversion.AssetTwoWithdrawalDidNotMeetMinimum.is
  • summary: The minimal amount requirement for the second token in the pair wasn't met.

BelowMinimum

  • interface: api.errors.assetConversion.BelowMinimum.is
  • summary: The destination account cannot exist with the swapped funds.

IncorrectPoolAssetId

  • interface: api.errors.assetConversion.IncorrectPoolAssetId.is
  • summary: It was not possible to get or increment the Id of the pool.

InsufficientLiquidityMinted

  • interface: api.errors.assetConversion.InsufficientLiquidityMinted.is
  • summary: Insufficient liquidity minted.

InvalidAssetPair

  • interface: api.errors.assetConversion.InvalidAssetPair.is
  • summary: Provided asset pair is not supported for pool.

InvalidPath

  • interface: api.errors.assetConversion.InvalidPath.is
  • summary: The provided path must consists of 2 assets at least.

NonUniquePath

  • interface: api.errors.assetConversion.NonUniquePath.is
  • summary: The provided path must consists of unique assets.

OptimalAmountLessThanDesired

  • interface: api.errors.assetConversion.OptimalAmountLessThanDesired.is
  • summary: Optimal calculated amount is less than desired.

Overflow

  • interface: api.errors.assetConversion.Overflow.is
  • summary: An overflow happened.

PoolExists

  • interface: api.errors.assetConversion.PoolExists.is
  • summary: Pool already exists.

PoolNotFound

  • interface: api.errors.assetConversion.PoolNotFound.is
  • summary: The pool doesn't exist.

ProvidedMaximumNotSufficientForSwap

  • interface: api.errors.assetConversion.ProvidedMaximumNotSufficientForSwap.is
  • summary: Provided maximum amount is not sufficient for swap.

ProvidedMinimumNotSufficientForSwap

  • interface: api.errors.assetConversion.ProvidedMinimumNotSufficientForSwap.is
  • summary: Calculated amount out is less than provided minimum amount.

ReserveLeftLessThanMinimal

  • interface: api.errors.assetConversion.ReserveLeftLessThanMinimal.is
  • summary: Reserve needs to always be greater than or equal to the existential deposit/asset's minimal amount.

WrongDesiredAmount

  • interface: api.errors.assetConversion.WrongDesiredAmount.is
  • summary: Desired amount can't be zero.

ZeroAmount

  • interface: api.errors.assetConversion.ZeroAmount.is
  • summary: Amount can't be zero.

ZeroLiquidity

  • interface: api.errors.assetConversion.ZeroLiquidity.is
  • summary: Requested liquidity can't be zero.

assetRate

AlreadyExists

  • interface: api.errors.assetRate.AlreadyExists.is
  • summary: The given asset ID already has an assigned conversion rate and cannot be re-created.

Overflow

  • interface: api.errors.assetRate.Overflow.is
  • summary: Overflow ocurred when calculating the inverse rate.

UnknownAssetKind

  • interface: api.errors.assetRate.UnknownAssetKind.is
  • summary: The given asset ID is unknown.

assets

AlreadyExists

  • interface: api.errors.assets.AlreadyExists.is
  • summary: The asset-account already exists.

AssetNotLive

  • interface: api.errors.assets.AssetNotLive.is
  • summary: The asset is not live, and likely being destroyed.

BadAssetId

  • interface: api.errors.assets.BadAssetId.is
  • summary: The asset ID must be equal to the [NextAssetId].

BadMetadata

  • interface: api.errors.assets.BadMetadata.is
  • summary: Invalid metadata given.

BadWitness

  • interface: api.errors.assets.BadWitness.is
  • summary: Invalid witness data given.

BalanceLow

  • interface: api.errors.assets.BalanceLow.is
  • summary: Account balance must be greater than or equal to the transfer amount.

CallbackFailed

  • interface: api.errors.assets.CallbackFailed.is
  • summary: Callback action resulted in error

ContainsFreezes

  • interface: api.errors.assets.ContainsFreezes.is
  • summary: The asset cannot be destroyed because some accounts for this asset contain freezes.

ContainsHolds

  • interface: api.errors.assets.ContainsHolds.is
  • summary: The asset cannot be destroyed because some accounts for this asset contain holds.

Frozen

  • interface: api.errors.assets.Frozen.is
  • summary: The origin account is frozen.

IncorrectStatus

  • interface: api.errors.assets.IncorrectStatus.is
  • summary: The asset status is not the expected status.

InUse

  • interface: api.errors.assets.InUse.is
  • summary: The asset ID is already taken.

LiveAsset

  • interface: api.errors.assets.LiveAsset.is
  • summary: The asset is a live asset and is actively being used. Usually emit for operations such as start_destroy which require the asset to be in a destroying state.

MinBalanceZero

  • interface: api.errors.assets.MinBalanceZero.is
  • summary: Minimum balance should be non-zero.

NoAccount

  • interface: api.errors.assets.NoAccount.is
  • summary: The account to alter does not exist.

NoDeposit

  • interface: api.errors.assets.NoDeposit.is
  • summary: The asset-account doesn't have an associated deposit.

NoPermission

  • interface: api.errors.assets.NoPermission.is
  • summary: The signing account has no permission to do the operation.

NotFrozen

  • interface: api.errors.assets.NotFrozen.is
  • summary: The asset should be frozen before the given operation.

Unapproved

  • interface: api.errors.assets.Unapproved.is
  • summary: No approval exists that would allow the transfer.

UnavailableConsumer

  • interface: api.errors.assets.UnavailableConsumer.is
  • summary: Unable to increment the consumer reference counters on the account. Either no provider reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer then the maximum number of consumers has been reached.

Unknown

  • interface: api.errors.assets.Unknown.is
  • summary: The given asset ID is unknown.

WouldBurn

  • interface: api.errors.assets.WouldBurn.is
  • summary: The operation would result in funds being burned.

WouldDie

  • interface: api.errors.assets.WouldDie.is
  • summary: The source account would not survive the transfer and it needs to stay alive.

balances

DeadAccount

  • interface: api.errors.balances.DeadAccount.is
  • summary: Beneficiary account must pre-exist.

DeltaZero

  • interface: api.errors.balances.DeltaZero.is
  • summary: The delta cannot be zero.

ExistentialDeposit

  • interface: api.errors.balances.ExistentialDeposit.is
  • summary: Value too low to create account due to existential deposit.

ExistingVestingSchedule

  • interface: api.errors.balances.ExistingVestingSchedule.is
  • summary: A vesting schedule already exists for this account.

Expendability

  • interface: api.errors.balances.Expendability.is
  • summary: Transfer/payment would kill account.

InsufficientBalance

  • interface: api.errors.balances.InsufficientBalance.is
  • summary: Balance too low to send value.

IssuanceDeactivated

  • interface: api.errors.balances.IssuanceDeactivated.is
  • summary: The issuance cannot be modified since it is already deactivated.

LiquidityRestrictions

  • interface: api.errors.balances.LiquidityRestrictions.is
  • summary: Account liquidity restrictions prevent withdrawal.

TooManyFreezes

  • interface: api.errors.balances.TooManyFreezes.is
  • summary: Number of freezes exceed MaxFreezes.

TooManyHolds

  • interface: api.errors.balances.TooManyHolds.is
  • summary: Number of holds exceed VariantCountOf<T::RuntimeHoldReason>.

TooManyReserves

  • interface: api.errors.balances.TooManyReserves.is
  • summary: Number of named reserves exceed MaxReserves.

VestingBalance

  • interface: api.errors.balances.VestingBalance.is
  • summary: Vesting balance too high to send value.

bounties

HasActiveChildBounty

  • interface: api.errors.bounties.HasActiveChildBounty.is
  • summary: The bounty cannot be closed because it has active child bounties.

InsufficientProposersBalance

  • interface: api.errors.bounties.InsufficientProposersBalance.is
  • summary: Proposer's balance is too low.

InvalidFee

  • interface: api.errors.bounties.InvalidFee.is
  • summary: Invalid bounty fee.

InvalidIndex

  • interface: api.errors.bounties.InvalidIndex.is
  • summary: No proposal or bounty at that index.

InvalidValue

  • interface: api.errors.bounties.InvalidValue.is
  • summary: Invalid bounty value.

NotProposer

  • interface: api.errors.bounties.NotProposer.is
  • summary: User is not the proposer of the bounty.

PendingPayout

  • interface: api.errors.bounties.PendingPayout.is
  • summary: A bounty payout is pending. To cancel the bounty, you must unassign and slash the curator.

Premature

  • interface: api.errors.bounties.Premature.is
  • summary: The bounties cannot be claimed/closed because it's still in the countdown period.

ReasonTooBig

  • interface: api.errors.bounties.ReasonTooBig.is
  • summary: The reason given is just too big.

RequireCurator

  • interface: api.errors.bounties.RequireCurator.is
  • summary: Require bounty curator.

TooManyQueued

  • interface: api.errors.bounties.TooManyQueued.is
  • summary: Too many approvals are already queued.

UnexpectedStatus

  • interface: api.errors.bounties.UnexpectedStatus.is
  • summary: The bounty status is unexpected.

childBounties

InsufficientBountyBalance

  • interface: api.errors.childBounties.InsufficientBountyBalance.is
  • summary: The bounty balance is not enough to add new child-bounty.

ParentBountyNotActive

  • interface: api.errors.childBounties.ParentBountyNotActive.is
  • summary: The parent bounty is not in active state.

TooManyChildBounties

  • interface: api.errors.childBounties.TooManyChildBounties.is
  • summary: Number of child bounties exceeds limit MaxActiveChildBountyCount.

claims

InvalidEthereumSignature

  • interface: api.errors.claims.InvalidEthereumSignature.is
  • summary: Invalid Ethereum signature.

InvalidStatement

  • interface: api.errors.claims.InvalidStatement.is
  • summary: A needed statement was not included.

PotUnderflow

  • interface: api.errors.claims.PotUnderflow.is
  • summary: There's not enough in the pot to pay out some unvested amount. Generally implies a logic error.

SenderHasNoClaim

  • interface: api.errors.claims.SenderHasNoClaim.is
  • summary: Account ID sending transaction has no claim.

SignerHasNoClaim

  • interface: api.errors.claims.SignerHasNoClaim.is
  • summary: Ethereum address has no claim.

VestedBalanceExists

  • interface: api.errors.claims.VestedBalanceExists.is
  • summary: The account already has a vested balance.

collatorSelection

AlreadyCandidate

  • interface: api.errors.collatorSelection.AlreadyCandidate.is
  • summary: Account is already a candidate.

AlreadyInvulnerable

  • interface: api.errors.collatorSelection.AlreadyInvulnerable.is
  • summary: Account is already an Invulnerable.

DepositTooLow

  • interface: api.errors.collatorSelection.DepositTooLow.is
  • summary: New deposit amount would be below the minimum candidacy bond.

IdenticalDeposit

  • interface: api.errors.collatorSelection.IdenticalDeposit.is
  • summary: The updated deposit amount is equal to the amount already reserved.

InsertToCandidateListFailed

  • interface: api.errors.collatorSelection.InsertToCandidateListFailed.is
  • summary: Could not insert in the candidate list.

InsufficientBond

  • interface: api.errors.collatorSelection.InsufficientBond.is
  • summary: Deposit amount is too low to take the target's slot in the candidate list.

InvalidUnreserve

  • interface: api.errors.collatorSelection.InvalidUnreserve.is
  • summary: Cannot lower candidacy bond while occupying a future collator slot in the list.

NoAssociatedValidatorId

  • interface: api.errors.collatorSelection.NoAssociatedValidatorId.is
  • summary: Account has no associated validator ID.

NotCandidate

  • interface: api.errors.collatorSelection.NotCandidate.is
  • summary: Account is not a candidate.

NotInvulnerable

  • interface: api.errors.collatorSelection.NotInvulnerable.is
  • summary: Account is not an Invulnerable.

RemoveFromCandidateListFailed

  • interface: api.errors.collatorSelection.RemoveFromCandidateListFailed.is
  • summary: Could not remove from the candidate list.

TargetIsNotCandidate

  • interface: api.errors.collatorSelection.TargetIsNotCandidate.is
  • summary: The target account to be replaced in the candidate list is not a candidate.

TooFewEligibleCollators

  • interface: api.errors.collatorSelection.TooFewEligibleCollators.is
  • summary: Leaving would result in too few candidates.

TooManyCandidates

  • interface: api.errors.collatorSelection.TooManyCandidates.is
  • summary: The pallet has too many candidates.

TooManyInvulnerables

  • interface: api.errors.collatorSelection.TooManyInvulnerables.is
  • summary: There are too many Invulnerables.

UpdateCandidateListFailed

  • interface: api.errors.collatorSelection.UpdateCandidateListFailed.is
  • summary: Could not update the candidate list.

ValidatorNotRegistered

  • interface: api.errors.collatorSelection.ValidatorNotRegistered.is
  • summary: Validator ID is not yet registered.

convictionVoting

AlreadyDelegating

  • interface: api.errors.convictionVoting.AlreadyDelegating.is
  • summary: The account is already delegating.

AlreadyVoting

  • interface: api.errors.convictionVoting.AlreadyVoting.is
  • summary: The account currently has votes attached to it and the operation cannot succeed until these are removed through remove_vote.

BadClass

  • interface: api.errors.convictionVoting.BadClass.is
  • summary: The class ID supplied is invalid.

ClassNeeded

  • interface: api.errors.convictionVoting.ClassNeeded.is
  • summary: The class must be supplied since it is not easily determinable from the state.

InsufficientFunds

  • interface: api.errors.convictionVoting.InsufficientFunds.is
  • summary: Too high a balance was provided that the account cannot afford.

MaxVotesReached

  • interface: api.errors.convictionVoting.MaxVotesReached.is
  • summary: Maximum number of votes reached.

Nonsense

  • interface: api.errors.convictionVoting.Nonsense.is
  • summary: Delegation to oneself makes no sense.

NoPermission

  • interface: api.errors.convictionVoting.NoPermission.is
  • summary: The actor has no permission to conduct the action.

NoPermissionYet

  • interface: api.errors.convictionVoting.NoPermissionYet.is
  • summary: The actor has no permission to conduct the action right now but will do in the future.

NotDelegating

  • interface: api.errors.convictionVoting.NotDelegating.is
  • summary: The account is not currently delegating.

NotOngoing

  • interface: api.errors.convictionVoting.NotOngoing.is
  • summary: Poll is not ongoing.

NotVoter

  • interface: api.errors.convictionVoting.NotVoter.is
  • summary: The given account did not vote on the poll.

delegatedStaking

AlreadyStaking

  • interface: api.errors.delegatedStaking.AlreadyStaking.is
  • summary: An existing staker cannot perform this action.

BadState

  • interface: api.errors.delegatedStaking.BadState.is
  • summary: Some corruption in internal state.

InvalidDelegation

  • interface: api.errors.delegatedStaking.InvalidDelegation.is

  • summary: Delegation conditions are not met.

    Possible issues are 1) Cannot delegate to self, 2) Cannot delegate to multiple delegates.

InvalidRewardDestination

  • interface: api.errors.delegatedStaking.InvalidRewardDestination.is
  • summary: Reward Destination cannot be same as Agent account.

NotAgent

  • interface: api.errors.delegatedStaking.NotAgent.is
  • summary: Not an existing Agent account.

NotAllowed

  • interface: api.errors.delegatedStaking.NotAllowed.is
  • summary: The account cannot perform this operation.

NotDelegator

  • interface: api.errors.delegatedStaking.NotDelegator.is
  • summary: Not a Delegator account.

NotEnoughFunds

  • interface: api.errors.delegatedStaking.NotEnoughFunds.is
  • summary: The account does not have enough funds to perform the operation.

NothingToSlash

  • interface: api.errors.delegatedStaking.NothingToSlash.is
  • summary: Agent has no pending slash to be applied.

NotSupported

  • interface: api.errors.delegatedStaking.NotSupported.is
  • summary: Operation not supported by this pallet.

UnappliedSlash

  • interface: api.errors.delegatedStaking.UnappliedSlash.is
  • summary: Unapplied pending slash restricts operation on Agent.

WithdrawFailed

  • interface: api.errors.delegatedStaking.WithdrawFailed.is
  • summary: Failed to withdraw amount from Core Staking.

foreignAssets

AlreadyExists

  • interface: api.errors.foreignAssets.AlreadyExists.is
  • summary: The asset-account already exists.

AssetNotLive

  • interface: api.errors.foreignAssets.AssetNotLive.is
  • summary: The asset is not live, and likely being destroyed.

BadAssetId

  • interface: api.errors.foreignAssets.BadAssetId.is
  • summary: The asset ID must be equal to the [NextAssetId].

BadMetadata

  • interface: api.errors.foreignAssets.BadMetadata.is
  • summary: Invalid metadata given.

BadWitness

  • interface: api.errors.foreignAssets.BadWitness.is
  • summary: Invalid witness data given.

BalanceLow

  • interface: api.errors.foreignAssets.BalanceLow.is
  • summary: Account balance must be greater than or equal to the transfer amount.

CallbackFailed

  • interface: api.errors.foreignAssets.CallbackFailed.is
  • summary: Callback action resulted in error

ContainsFreezes

  • interface: api.errors.foreignAssets.ContainsFreezes.is
  • summary: The asset cannot be destroyed because some accounts for this asset contain freezes.

ContainsHolds

  • interface: api.errors.foreignAssets.ContainsHolds.is
  • summary: The asset cannot be destroyed because some accounts for this asset contain holds.

Frozen

  • interface: api.errors.foreignAssets.Frozen.is
  • summary: The origin account is frozen.

IncorrectStatus

  • interface: api.errors.foreignAssets.IncorrectStatus.is
  • summary: The asset status is not the expected status.

InUse

  • interface: api.errors.foreignAssets.InUse.is
  • summary: The asset ID is already taken.

LiveAsset

  • interface: api.errors.foreignAssets.LiveAsset.is
  • summary: The asset is a live asset and is actively being used. Usually emit for operations such as start_destroy which require the asset to be in a destroying state.

MinBalanceZero

  • interface: api.errors.foreignAssets.MinBalanceZero.is
  • summary: Minimum balance should be non-zero.

NoAccount

  • interface: api.errors.foreignAssets.NoAccount.is
  • summary: The account to alter does not exist.

NoDeposit

  • interface: api.errors.foreignAssets.NoDeposit.is
  • summary: The asset-account doesn't have an associated deposit.

NoPermission

  • interface: api.errors.foreignAssets.NoPermission.is
  • summary: The signing account has no permission to do the operation.

NotFrozen

  • interface: api.errors.foreignAssets.NotFrozen.is
  • summary: The asset should be frozen before the given operation.

Unapproved

  • interface: api.errors.foreignAssets.Unapproved.is
  • summary: No approval exists that would allow the transfer.

UnavailableConsumer

  • interface: api.errors.foreignAssets.UnavailableConsumer.is
  • summary: Unable to increment the consumer reference counters on the account. Either no provider reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer then the maximum number of consumers has been reached.

Unknown

  • interface: api.errors.foreignAssets.Unknown.is
  • summary: The given asset ID is unknown.

WouldBurn

  • interface: api.errors.foreignAssets.WouldBurn.is
  • summary: The operation would result in funds being burned.

WouldDie

  • interface: api.errors.foreignAssets.WouldDie.is
  • summary: The source account would not survive the transfer and it needs to stay alive.

indices

InUse

  • interface: api.errors.indices.InUse.is
  • summary: The index was not available.

NotAssigned

  • interface: api.errors.indices.NotAssigned.is
  • summary: The index was not already assigned.

NotOwner

  • interface: api.errors.indices.NotOwner.is
  • summary: The index is assigned to another account.

NotTransfer

  • interface: api.errors.indices.NotTransfer.is
  • summary: The source and destination accounts are identical.

Permanent

  • interface: api.errors.indices.Permanent.is
  • summary: The index is permanent and may not be freed/changed.

messageQueue

AlreadyProcessed

  • interface: api.errors.messageQueue.AlreadyProcessed.is
  • summary: The message was already processed and cannot be processed again.

InsufficientWeight

  • interface: api.errors.messageQueue.InsufficientWeight.is
  • summary: There is temporarily not enough weight to continue servicing messages.

NoMessage

  • interface: api.errors.messageQueue.NoMessage.is
  • summary: The referenced message could not be found.

NoPage

  • interface: api.errors.messageQueue.NoPage.is
  • summary: Page to be reaped does not exist.

NotReapable

  • interface: api.errors.messageQueue.NotReapable.is
  • summary: Page is not reapable because it has items remaining to be processed and is not old enough.

Queued

  • interface: api.errors.messageQueue.Queued.is
  • summary: The message is queued for future execution.

QueuePaused

  • interface: api.errors.messageQueue.QueuePaused.is

  • summary: The queue is paused and no message can be executed from it.

    This can change at any time and may resolve in the future by re-trying.

RecursiveDisallowed

  • interface: api.errors.messageQueue.RecursiveDisallowed.is
  • summary: Another call is in progress and needs to finish before this call can happen.

TemporarilyUnprocessable

  • interface: api.errors.messageQueue.TemporarilyUnprocessable.is

  • summary: This message is temporarily unprocessable.

    Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying.


multiBlockElection

Fallback

  • interface: api.errors.multiBlockElection.Fallback.is
  • summary: Triggering the Fallback failed.

Snapshot

  • interface: api.errors.multiBlockElection.Snapshot.is
  • summary: Snapshot was unavailable.

UnexpectedPhase

  • interface: api.errors.multiBlockElection.UnexpectedPhase.is
  • summary: Unexpected phase

multiBlockElectionSigned

BadPageIndex

  • interface: api.errors.multiBlockElectionSigned.BadPageIndex.is
  • summary: The page index is out of bounds.

BadWitnessData

  • interface: api.errors.multiBlockElectionSigned.BadWitnessData.is
  • summary: Bad witness data provided.

Duplicate

  • interface: api.errors.multiBlockElectionSigned.Duplicate.is
  • summary: The submission is a duplicate.

NoSubmission

  • interface: api.errors.multiBlockElectionSigned.NoSubmission.is
  • summary: No submission found.

NotRegistered

  • interface: api.errors.multiBlockElectionSigned.NotRegistered.is
  • summary: The account is not registered.

PhaseNotSigned

  • interface: api.errors.multiBlockElectionSigned.PhaseNotSigned.is
  • summary: The phase is not signed.

QueueFull

  • interface: api.errors.multiBlockElectionSigned.QueueFull.is
  • summary: The queue is full.

RoundNotOver

  • interface: api.errors.multiBlockElectionSigned.RoundNotOver.is
  • summary: Round is not yet over.

TooManyInvulnerables

  • interface: api.errors.multiBlockElectionSigned.TooManyInvulnerables.is
  • summary: Too many invulnerable accounts are provided,

multiBlockMigrations

Ongoing

  • interface: api.errors.multiBlockMigrations.Ongoing.is
  • summary: The operation cannot complete since some MBMs are ongoing.

multisig

AlreadyApproved

  • interface: api.errors.multisig.AlreadyApproved.is
  • summary: Call is already approved by this signatory.

AlreadyStored

  • interface: api.errors.multisig.AlreadyStored.is
  • summary: The data to be stored is already stored.

MaxWeightTooLow

  • interface: api.errors.multisig.MaxWeightTooLow.is
  • summary: The maximum weight information provided was too low.

MinimumThreshold

  • interface: api.errors.multisig.MinimumThreshold.is
  • summary: Threshold must be 2 or greater.

NoApprovalsNeeded

  • interface: api.errors.multisig.NoApprovalsNeeded.is
  • summary: Call doesn't need any (more) approvals.

NotFound

  • interface: api.errors.multisig.NotFound.is
  • summary: Multisig operation not found in storage.

NoTimepoint

  • interface: api.errors.multisig.NoTimepoint.is
  • summary: No timepoint was given, yet the multisig operation is already underway.

NotOwner

  • interface: api.errors.multisig.NotOwner.is
  • summary: Only the account that originally created the multisig is able to cancel it or update its deposits.

SenderInSignatories

  • interface: api.errors.multisig.SenderInSignatories.is
  • summary: The sender was contained in the other signatories; it shouldn't be.

SignatoriesOutOfOrder

  • interface: api.errors.multisig.SignatoriesOutOfOrder.is
  • summary: The signatories were provided out of order; they should be ordered.

TooFewSignatories

  • interface: api.errors.multisig.TooFewSignatories.is
  • summary: There are too few signatories in the list.

TooManySignatories

  • interface: api.errors.multisig.TooManySignatories.is
  • summary: There are too many signatories in the list.

UnexpectedTimepoint

  • interface: api.errors.multisig.UnexpectedTimepoint.is
  • summary: A timepoint was given, yet no multisig operation is underway.

WrongTimepoint

  • interface: api.errors.multisig.WrongTimepoint.is
  • summary: A different timepoint was given to the multisig operation that is underway.

nftFractionalization

IncorrectAssetId

  • interface: api.errors.nftFractionalization.IncorrectAssetId.is
  • summary: Asset ID does not correspond to locked NFT.

NftNotFound

  • interface: api.errors.nftFractionalization.NftNotFound.is
  • summary: NFT doesn't exist.

NftNotFractionalized

  • interface: api.errors.nftFractionalization.NftNotFractionalized.is
  • summary: NFT has not yet been fractionalised.

NoPermission

  • interface: api.errors.nftFractionalization.NoPermission.is
  • summary: The signing account has no permission to do the operation.

nfts

AlreadyClaimed

  • interface: api.errors.nfts.AlreadyClaimed.is
  • summary: The provided Item was already used for claiming.

AlreadyExists

  • interface: api.errors.nfts.AlreadyExists.is
  • summary: The item ID has already been used for an item.

ApprovalExpired

  • interface: api.errors.nfts.ApprovalExpired.is
  • summary: The approval had a deadline that expired, so the approval isn't valid anymore.

AttributeNotFound

  • interface: api.errors.nfts.AttributeNotFound.is
  • summary: The provided attribute can't be found.

BadWitness

  • interface: api.errors.nfts.BadWitness.is
  • summary: The witness data given does not match the current state of the chain.

BidTooLow

  • interface: api.errors.nfts.BidTooLow.is
  • summary: The provided bid is too low.

CollectionIdInUse

  • interface: api.errors.nfts.CollectionIdInUse.is
  • summary: Collection ID is already taken.

CollectionNotEmpty

  • interface: api.errors.nfts.CollectionNotEmpty.is
  • summary: Can't delete non-empty collections.

DeadlineExpired

  • interface: api.errors.nfts.DeadlineExpired.is
  • summary: The deadline has already expired.

InconsistentItemConfig

  • interface: api.errors.nfts.InconsistentItemConfig.is
  • summary: Item's config already exists and should be equal to the provided one.

IncorrectData

  • interface: api.errors.nfts.IncorrectData.is
  • summary: The provided data is incorrect.

IncorrectMetadata

  • interface: api.errors.nfts.IncorrectMetadata.is
  • summary: The provided metadata might be too long.

ItemLocked

  • interface: api.errors.nfts.ItemLocked.is
  • summary: The item is locked (non-transferable).

ItemsNonTransferable

  • interface: api.errors.nfts.ItemsNonTransferable.is
  • summary: Items within that collection are non-transferable.

LockedCollectionAttributes

  • interface: api.errors.nfts.LockedCollectionAttributes.is
  • summary: Collection's attributes are locked.

LockedCollectionMetadata

  • interface: api.errors.nfts.LockedCollectionMetadata.is
  • summary: Collection's metadata is locked.

LockedItemAttributes

  • interface: api.errors.nfts.LockedItemAttributes.is
  • summary: Item's attributes are locked.

LockedItemMetadata

  • interface: api.errors.nfts.LockedItemMetadata.is
  • summary: Item's metadata is locked.

MaxAttributesLimitReached

  • interface: api.errors.nfts.MaxAttributesLimitReached.is
  • summary: Can't set more attributes per one call.

MaxSupplyLocked

  • interface: api.errors.nfts.MaxSupplyLocked.is
  • summary: The max supply is locked and can't be changed.

MaxSupplyReached

  • interface: api.errors.nfts.MaxSupplyReached.is
  • summary: All items have been minted.

MaxSupplyTooSmall

  • interface: api.errors.nfts.MaxSupplyTooSmall.is
  • summary: The provided max supply is less than the number of items a collection already has.

MetadataNotFound

  • interface: api.errors.nfts.MetadataNotFound.is
  • summary: The given item has no metadata set.

MethodDisabled

  • interface: api.errors.nfts.MethodDisabled.is
  • summary: The method is disabled by system settings.

MintEnded

  • interface: api.errors.nfts.MintEnded.is
  • summary: Mint has already ended.

MintNotStarted

  • interface: api.errors.nfts.MintNotStarted.is
  • summary: Mint has not started yet.

NoConfig

  • interface: api.errors.nfts.NoConfig.is
  • summary: Config for a collection or an item can't be found.

NoPermission

  • interface: api.errors.nfts.NoPermission.is
  • summary: The signing account has no permission to do the operation.

NotDelegate

  • interface: api.errors.nfts.NotDelegate.is
  • summary: The provided account is not a delegate.

NotForSale

  • interface: api.errors.nfts.NotForSale.is
  • summary: Item is not for sale.

ReachedApprovalLimit

  • interface: api.errors.nfts.ReachedApprovalLimit.is
  • summary: The item has reached its approval limit.

RolesNotCleared

  • interface: api.errors.nfts.RolesNotCleared.is
  • summary: Some roles were not cleared.

Unaccepted

  • interface: api.errors.nfts.Unaccepted.is
  • summary: The named owner has not signed ownership acceptance of the collection.

Unapproved

  • interface: api.errors.nfts.Unapproved.is
  • summary: No approval exists that would allow the transfer.

UnknownCollection

  • interface: api.errors.nfts.UnknownCollection.is
  • summary: The given item ID is unknown.

UnknownItem

  • interface: api.errors.nfts.UnknownItem.is
  • summary: The given item ID is unknown.

UnknownSwap

  • interface: api.errors.nfts.UnknownSwap.is
  • summary: Swap doesn't exist.

WitnessRequired

  • interface: api.errors.nfts.WitnessRequired.is
  • summary: The witness data should be provided.

WrongDelegate

  • interface: api.errors.nfts.WrongDelegate.is
  • summary: The delegate turned out to be different to what was expected.

WrongDuration

  • interface: api.errors.nfts.WrongDuration.is
  • summary: The duration provided should be less than or equal to MaxDeadlineDuration.

WrongNamespace

  • interface: api.errors.nfts.WrongNamespace.is
  • summary: The provided namespace isn't supported in this call.

WrongOrigin

  • interface: api.errors.nfts.WrongOrigin.is
  • summary: The extrinsic was sent by the wrong origin.

WrongOwner

  • interface: api.errors.nfts.WrongOwner.is
  • summary: The owner turned out to be different to what was expected.

WrongSetting

  • interface: api.errors.nfts.WrongSetting.is
  • summary: The provided setting can't be set.

WrongSignature

  • interface: api.errors.nfts.WrongSignature.is
  • summary: The provided signature is incorrect.

nominationPools

AccountBelongsToOtherPool

  • interface: api.errors.nominationPools.AccountBelongsToOtherPool.is
  • summary: An account is already delegating in another pool. An account may only belong to one pool at a time.

AlreadyMigrated

  • interface: api.errors.nominationPools.AlreadyMigrated.is
  • summary: The pool or member delegation has already migrated to delegate stake.

BondExtraRestricted

  • interface: api.errors.nominationPools.BondExtraRestricted.is
  • summary: Bonding extra is restricted to the exact pending reward amount.

CanNotChangeState

  • interface: api.errors.nominationPools.CanNotChangeState.is
  • summary: The pools state cannot be changed.

CannotWithdrawAny

  • interface: api.errors.nominationPools.CannotWithdrawAny.is
  • summary: None of the funds can be withdrawn yet because the bonding duration has not passed.

CommissionChangeRateNotAllowed

  • interface: api.errors.nominationPools.CommissionChangeRateNotAllowed.is
  • summary: The submitted changes to commission change rate are not allowed.

CommissionChangeThrottled

  • interface: api.errors.nominationPools.CommissionChangeThrottled.is
  • summary: Not enough blocks have surpassed since the last commission update.

CommissionExceedsGlobalMaximum

  • interface: api.errors.nominationPools.CommissionExceedsGlobalMaximum.is
  • summary: The supplied commission exceeds global maximum commission.

CommissionExceedsMaximum

  • interface: api.errors.nominationPools.CommissionExceedsMaximum.is
  • summary: The supplied commission exceeds the max allowed commission.

Defensive

  • interface: api.errors.nominationPools.Defensive.is
  • summary: Some error occurred that should never happen. This should be reported to the maintainers.

DoesNotHavePermission

  • interface: api.errors.nominationPools.DoesNotHavePermission.is
  • summary: The caller does not have adequate permissions.

FullyUnbonding

  • interface: api.errors.nominationPools.FullyUnbonding.is
  • summary: The member is fully unbonded (and thus cannot access the bonded and reward pool anymore to, for example, collect rewards).

InvalidPoolId

  • interface: api.errors.nominationPools.InvalidPoolId.is
  • summary: Pool id provided is not correct/usable.

MaxCommissionRestricted

  • interface: api.errors.nominationPools.MaxCommissionRestricted.is
  • summary: The pool's max commission cannot be set higher than the existing value.

MaxPoolMembers

  • interface: api.errors.nominationPools.MaxPoolMembers.is
  • summary: Too many members in the pool or system.

MaxPools

  • interface: api.errors.nominationPools.MaxPools.is
  • summary: The system is maxed out on pools.

MaxUnbondingLimit

  • interface: api.errors.nominationPools.MaxUnbondingLimit.is
  • summary: The member cannot unbond further chunks due to reaching the limit.

MetadataExceedsMaxLen

  • interface: api.errors.nominationPools.MetadataExceedsMaxLen.is
  • summary: Metadata exceeds [Config::MaxMetadataLen]

MinimumBondNotMet

  • interface: api.errors.nominationPools.MinimumBondNotMet.is

  • summary: The amount does not meet the minimum bond to either join or create a pool.

    The depositor can never unbond to a value less than Pallet::depositor_min_bond. The caller does not have nominating permissions for the pool. Members can never unbond to a value below MinJoinBond.

NoCommissionCurrentSet

  • interface: api.errors.nominationPools.NoCommissionCurrentSet.is
  • summary: No commission current has been set.

NoPendingCommission

  • interface: api.errors.nominationPools.NoPendingCommission.is
  • summary: There is no pending commission to claim.

NotDestroying

  • interface: api.errors.nominationPools.NotDestroying.is
  • summary: A pool must be in [PoolState::Destroying] in order for the depositor to unbond or for other members to be permissionlessly unbonded.

NothingToAdjust

  • interface: api.errors.nominationPools.NothingToAdjust.is
  • summary: No imbalance in the ED deposit for the pool.

NothingToSlash

  • interface: api.errors.nominationPools.NothingToSlash.is
  • summary: No slash pending that can be applied to the member.

NotKickerOrDestroying

  • interface: api.errors.nominationPools.NotKickerOrDestroying.is
  • summary: Either a) the caller cannot make a valid kick or b) the pool is not destroying.

NotMigrated

  • interface: api.errors.nominationPools.NotMigrated.is
  • summary: The pool or member delegation has not migrated yet to delegate stake.

NotNominator

  • interface: api.errors.nominationPools.NotNominator.is
  • summary: The caller does not have nominating permissions for the pool.

NotOpen

  • interface: api.errors.nominationPools.NotOpen.is
  • summary: The pool is not open to join

NotSupported

  • interface: api.errors.nominationPools.NotSupported.is
  • summary: This call is not allowed in the current state of the pallet.

OverflowRisk

  • interface: api.errors.nominationPools.OverflowRisk.is
  • summary: The transaction could not be executed due to overflow risk for the pool.

PartialUnbondNotAllowedPermissionlessly

  • interface: api.errors.nominationPools.PartialUnbondNotAllowedPermissionlessly.is
  • summary: Partial unbonding now allowed permissionlessly.

PoolIdInUse

  • interface: api.errors.nominationPools.PoolIdInUse.is
  • summary: Pool id currently in use.

PoolMemberNotFound

  • interface: api.errors.nominationPools.PoolMemberNotFound.is
  • summary: An account is not a member.

PoolNotFound

  • interface: api.errors.nominationPools.PoolNotFound.is
  • summary: A (bonded) pool id does not exist.

Restricted

  • interface: api.errors.nominationPools.Restricted.is
  • summary: Account is restricted from participation in pools. This may happen if the account is staking in another way already.

RewardPoolNotFound

  • interface: api.errors.nominationPools.RewardPoolNotFound.is
  • summary: A reward pool does not exist. In all cases this is a system logic error.

SlashTooLow

  • interface: api.errors.nominationPools.SlashTooLow.is
  • summary: The slash amount is too low to be applied.

SubPoolsNotFound

  • interface: api.errors.nominationPools.SubPoolsNotFound.is
  • summary: A sub pool does not exist.

parachainSystem

HostConfigurationNotAvailable

  • interface: api.errors.parachainSystem.HostConfigurationNotAvailable.is
  • summary: The inherent which supplies the host configuration did not run this block.

NotScheduled

  • interface: api.errors.parachainSystem.NotScheduled.is
  • summary: No validation function upgrade is currently scheduled.

OverlappingUpgrades

  • interface: api.errors.parachainSystem.OverlappingUpgrades.is
  • summary: Attempt to upgrade validation function while existing upgrade pending.

ProhibitedByPolkadot

  • interface: api.errors.parachainSystem.ProhibitedByPolkadot.is
  • summary: Polkadot currently prohibits this parachain from upgrading its validation function.

TooBig

  • interface: api.errors.parachainSystem.TooBig.is
  • summary: The supplied validation function has compiled into a blob larger than Polkadot is willing to run.

ValidationDataNotAvailable

  • interface: api.errors.parachainSystem.ValidationDataNotAvailable.is
  • summary: The inherent which supplies the validation data did not run this block.

polkadotXcm

AccountNotSovereign

  • interface: api.errors.polkadotXcm.AccountNotSovereign.is
  • summary: The given account is not an identifiable sovereign account for any location.

AliasNotFound

  • interface: api.errors.polkadotXcm.AliasNotFound.is
  • summary: The alias to remove authorization for was not found.

AlreadySubscribed

  • interface: api.errors.polkadotXcm.AlreadySubscribed.is
  • summary: The location is invalid since it already has a subscription from us.

BadLocation

  • interface: api.errors.polkadotXcm.BadLocation.is
  • summary: The given location could not be used (e.g. because it cannot be expressed in the desired version of XCM).

BadVersion

  • interface: api.errors.polkadotXcm.BadVersion.is
  • summary: The version of the Versioned value used is not able to be interpreted.

CannotCheckOutTeleport

  • interface: api.errors.polkadotXcm.CannotCheckOutTeleport.is
  • summary: Could not check-out the assets for teleportation to the destination chain.

CannotReanchor

  • interface: api.errors.polkadotXcm.CannotReanchor.is
  • summary: Could not re-anchor the assets to declare the fees for the destination chain.

DestinationNotInvertible

  • interface: api.errors.polkadotXcm.DestinationNotInvertible.is
  • summary: The destination Location provided cannot be inverted.

Empty

  • interface: api.errors.polkadotXcm.Empty.is
  • summary: The assets to be sent are empty.

ExpiresInPast

  • interface: api.errors.polkadotXcm.ExpiresInPast.is
  • summary: Expiry block number is in the past.

FeesNotMet

  • interface: api.errors.polkadotXcm.FeesNotMet.is
  • summary: The operation required fees to be paid which the initiator could not meet.

Filtered

  • interface: api.errors.polkadotXcm.Filtered.is
  • summary: The message execution fails the filter.

InUse

  • interface: api.errors.polkadotXcm.InUse.is
  • summary: The unlock operation cannot succeed because there are still consumers of the lock.

InvalidAssetUnknownReserve

  • interface: api.errors.polkadotXcm.InvalidAssetUnknownReserve.is
  • summary: Invalid asset, reserve chain could not be determined for it.

InvalidAssetUnsupportedReserve

  • interface: api.errors.polkadotXcm.InvalidAssetUnsupportedReserve.is
  • summary: Invalid asset, do not support remote asset reserves with different fees reserves.

InvalidOrigin

  • interface: api.errors.polkadotXcm.InvalidOrigin.is
  • summary: Origin is invalid for sending.

LocalExecutionIncomplete

  • interface: api.errors.polkadotXcm.LocalExecutionIncomplete.is
  • summary: Local XCM execution incomplete.

LocalExecutionIncompleteWithError

  • interface: api.errors.polkadotXcm.LocalExecutionIncompleteWithError.is
  • summary: Local XCM execution incomplete with the actual XCM error and the index of the instruction that caused the error.

LockNotFound

  • interface: api.errors.polkadotXcm.LockNotFound.is
  • summary: A remote lock with the corresponding data could not be found.

LowBalance

  • interface: api.errors.polkadotXcm.LowBalance.is
  • summary: The owner does not own (all) of the asset that they wish to do the operation on.

NoSubscription

  • interface: api.errors.polkadotXcm.NoSubscription.is
  • summary: The referenced subscription could not be found.

SendFailure

  • interface: api.errors.polkadotXcm.SendFailure.is
  • summary: There was some other issue (i.e. not to do with routing) in sending the message. Perhaps a lack of space for buffering the message.

TooManyAssets

  • interface: api.errors.polkadotXcm.TooManyAssets.is
  • summary: Too many assets have been attempted for transfer.

TooManyAuthorizedAliases

  • interface: api.errors.polkadotXcm.TooManyAuthorizedAliases.is
  • summary: Too many locations authorized to alias origin.

TooManyLocks

  • interface: api.errors.polkadotXcm.TooManyLocks.is
  • summary: The asset owner has too many locks on the asset.

TooManyReserves

  • interface: api.errors.polkadotXcm.TooManyReserves.is
  • summary: Too many assets with different reserve locations have been attempted for transfer.

Unreachable

  • interface: api.errors.polkadotXcm.Unreachable.is
  • summary: The desired destination was unreachable, generally because there is a no way of routing to it.

UnweighableMessage

  • interface: api.errors.polkadotXcm.UnweighableMessage.is
  • summary: The message's weight could not be determined.

poolAssets

AlreadyExists

  • interface: api.errors.poolAssets.AlreadyExists.is
  • summary: The asset-account already exists.

AssetNotLive

  • interface: api.errors.poolAssets.AssetNotLive.is
  • summary: The asset is not live, and likely being destroyed.

BadAssetId

  • interface: api.errors.poolAssets.BadAssetId.is
  • summary: The asset ID must be equal to the [NextAssetId].

BadMetadata

  • interface: api.errors.poolAssets.BadMetadata.is
  • summary: Invalid metadata given.

BadWitness

  • interface: api.errors.poolAssets.BadWitness.is
  • summary: Invalid witness data given.

BalanceLow

  • interface: api.errors.poolAssets.BalanceLow.is
  • summary: Account balance must be greater than or equal to the transfer amount.

CallbackFailed

  • interface: api.errors.poolAssets.CallbackFailed.is
  • summary: Callback action resulted in error

ContainsFreezes

  • interface: api.errors.poolAssets.ContainsFreezes.is
  • summary: The asset cannot be destroyed because some accounts for this asset contain freezes.

ContainsHolds

  • interface: api.errors.poolAssets.ContainsHolds.is
  • summary: The asset cannot be destroyed because some accounts for this asset contain holds.

Frozen

  • interface: api.errors.poolAssets.Frozen.is
  • summary: The origin account is frozen.

IncorrectStatus

  • interface: api.errors.poolAssets.IncorrectStatus.is
  • summary: The asset status is not the expected status.

InUse

  • interface: api.errors.poolAssets.InUse.is
  • summary: The asset ID is already taken.

LiveAsset

  • interface: api.errors.poolAssets.LiveAsset.is
  • summary: The asset is a live asset and is actively being used. Usually emit for operations such as start_destroy which require the asset to be in a destroying state.

MinBalanceZero

  • interface: api.errors.poolAssets.MinBalanceZero.is
  • summary: Minimum balance should be non-zero.

NoAccount

  • interface: api.errors.poolAssets.NoAccount.is
  • summary: The account to alter does not exist.

NoDeposit

  • interface: api.errors.poolAssets.NoDeposit.is
  • summary: The asset-account doesn't have an associated deposit.

NoPermission

  • interface: api.errors.poolAssets.NoPermission.is
  • summary: The signing account has no permission to do the operation.

NotFrozen

  • interface: api.errors.poolAssets.NotFrozen.is
  • summary: The asset should be frozen before the given operation.

Unapproved

  • interface: api.errors.poolAssets.Unapproved.is
  • summary: No approval exists that would allow the transfer.

UnavailableConsumer

  • interface: api.errors.poolAssets.UnavailableConsumer.is
  • summary: Unable to increment the consumer reference counters on the account. Either no provider reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer then the maximum number of consumers has been reached.

Unknown

  • interface: api.errors.poolAssets.Unknown.is
  • summary: The given asset ID is unknown.

WouldBurn

  • interface: api.errors.poolAssets.WouldBurn.is
  • summary: The operation would result in funds being burned.

WouldDie

  • interface: api.errors.poolAssets.WouldDie.is
  • summary: The source account would not survive the transfer and it needs to stay alive.

preimage

AlreadyNoted

  • interface: api.errors.preimage.AlreadyNoted.is
  • summary: Preimage has already been noted on-chain.

NotAuthorized

  • interface: api.errors.preimage.NotAuthorized.is
  • summary: The user is not authorized to perform this action.

NotNoted

  • interface: api.errors.preimage.NotNoted.is
  • summary: The preimage cannot be removed since it has not yet been noted.

NotRequested

  • interface: api.errors.preimage.NotRequested.is
  • summary: The preimage request cannot be removed since no outstanding requests exist.

Requested

  • interface: api.errors.preimage.Requested.is
  • summary: A preimage may not be removed when there are outstanding requests.

TooBig

  • interface: api.errors.preimage.TooBig.is
  • summary: Preimage is too large to store on-chain.

TooFew

  • interface: api.errors.preimage.TooFew.is
  • summary: Too few hashes were requested to be upgraded (i.e. zero).

TooMany

  • interface: api.errors.preimage.TooMany.is
  • summary: More than MAX_HASH_UPGRADE_BULK_COUNT hashes were requested to be upgraded at once.

proxy

Duplicate

  • interface: api.errors.proxy.Duplicate.is
  • summary: Account is already a proxy.

NoPermission

  • interface: api.errors.proxy.NoPermission.is
  • summary: Call may not be made by proxy because it may escalate its privileges.

NoSelfProxy

  • interface: api.errors.proxy.NoSelfProxy.is
  • summary: Cannot add self as proxy.

NotFound

  • interface: api.errors.proxy.NotFound.is
  • summary: Proxy registration not found.

NotProxy

  • interface: api.errors.proxy.NotProxy.is
  • summary: Sender is not a proxy of the account to be proxied.

TooMany

  • interface: api.errors.proxy.TooMany.is
  • summary: There are too many proxies registered or too many announcements pending.

Unannounced

  • interface: api.errors.proxy.Unannounced.is
  • summary: Announcement, if made at all, was made too recently.

Unproxyable

  • interface: api.errors.proxy.Unproxyable.is
  • summary: A call which is incompatible with the proxy type's filter was attempted.

recovery

AlreadyProxy

  • interface: api.errors.recovery.AlreadyProxy.is
  • summary: This account is already set up for recovery

AlreadyRecoverable

  • interface: api.errors.recovery.AlreadyRecoverable.is
  • summary: This account is already set up for recovery

AlreadyStarted

  • interface: api.errors.recovery.AlreadyStarted.is
  • summary: A recovery process has already started for this account

AlreadyVouched

  • interface: api.errors.recovery.AlreadyVouched.is
  • summary: This user has already vouched for this recovery

BadState

  • interface: api.errors.recovery.BadState.is
  • summary: Some internal state is broken.

DelayPeriod

  • interface: api.errors.recovery.DelayPeriod.is
  • summary: The friend must wait until the delay period to vouch for this recovery

MaxFriends

  • interface: api.errors.recovery.MaxFriends.is
  • summary: Friends list must be less than max friends

NotAllowed

  • interface: api.errors.recovery.NotAllowed.is
  • summary: User is not allowed to make a call on behalf of this account

NotEnoughFriends

  • interface: api.errors.recovery.NotEnoughFriends.is
  • summary: Friends list must be greater than zero and threshold

NotFriend

  • interface: api.errors.recovery.NotFriend.is
  • summary: This account is not a friend who can vouch

NotRecoverable

  • interface: api.errors.recovery.NotRecoverable.is
  • summary: This account is not set up for recovery

NotSorted

  • interface: api.errors.recovery.NotSorted.is
  • summary: Friends list must be sorted and free of duplicates

NotStarted

  • interface: api.errors.recovery.NotStarted.is
  • summary: A recovery process has not started for this rescuer

StillActive

  • interface: api.errors.recovery.StillActive.is
  • summary: There are still active recovery attempts that need to be closed

Threshold

  • interface: api.errors.recovery.Threshold.is
  • summary: The threshold for recovering this account has not been met

ZeroThreshold

  • interface: api.errors.recovery.ZeroThreshold.is
  • summary: Threshold must be greater than zero

referenda

BadReferendum

  • interface: api.errors.referenda.BadReferendum.is
  • summary: The referendum index provided is invalid in this context.

BadStatus

  • interface: api.errors.referenda.BadStatus.is
  • summary: The referendum status is invalid for this operation.

BadTrack

  • interface: api.errors.referenda.BadTrack.is
  • summary: The track identifier given was invalid.

Full

  • interface: api.errors.referenda.Full.is
  • summary: There are already a full complement of referenda in progress for this track.

HasDeposit

  • interface: api.errors.referenda.HasDeposit.is
  • summary: Referendum's decision deposit is already paid.

NoDeposit

  • interface: api.errors.referenda.NoDeposit.is
  • summary: The deposit cannot be refunded since none was made.

NoPermission

  • interface: api.errors.referenda.NoPermission.is
  • summary: The deposit refunder is not the depositor.

NothingToDo

  • interface: api.errors.referenda.NothingToDo.is
  • summary: There was nothing to do in the advancement.

NotOngoing

  • interface: api.errors.referenda.NotOngoing.is
  • summary: Referendum is not ongoing.

NoTrack

  • interface: api.errors.referenda.NoTrack.is
  • summary: No track exists for the proposal origin.

PreimageNotExist

  • interface: api.errors.referenda.PreimageNotExist.is
  • summary: The preimage does not exist.

PreimageStoredWithDifferentLength

  • interface: api.errors.referenda.PreimageStoredWithDifferentLength.is
  • summary: The preimage is stored with a different length than the one provided.

QueueEmpty

  • interface: api.errors.referenda.QueueEmpty.is
  • summary: The queue of the track is empty.

Unfinished

  • interface: api.errors.referenda.Unfinished.is
  • summary: Any deposit cannot be refunded until after the decision is over.

remoteProxyRelayChain

CouldNotConvertLocalToRemoteAccountId

  • interface: api.errors.remoteProxyRelayChain.CouldNotConvertLocalToRemoteAccountId.is
  • summary: The local account id could not converted to the remote account id.

DidNotFindMatchingProxyDefinition

  • interface: api.errors.remoteProxyRelayChain.DidNotFindMatchingProxyDefinition.is
  • summary: Could not find any matching proxy definition in the proof.

InvalidProof

  • interface: api.errors.remoteProxyRelayChain.InvalidProof.is
  • summary: The proxy definition could not be found in the proof.

ProxyDefinitionDecodingFailed

  • interface: api.errors.remoteProxyRelayChain.ProxyDefinitionDecodingFailed.is
  • summary: Failed to decode the remote proxy definition from the proof.

ProxyProofNotRegistered

  • interface: api.errors.remoteProxyRelayChain.ProxyProofNotRegistered.is
  • summary: Proxy proof not registered.

Unannounced

  • interface: api.errors.remoteProxyRelayChain.Unannounced.is
  • summary: Announcement, if made at all, was made too recently.

UnknownProofAnchorBlock

  • interface: api.errors.remoteProxyRelayChain.UnknownProofAnchorBlock.is
  • summary: The anchor block of the remote proof is unknown.

revive

AccountAlreadyMapped

  • interface: api.errors.revive.AccountAlreadyMapped.is
  • summary: Tried to map an account that is already mapped.

AccountUnmapped

  • interface: api.errors.revive.AccountUnmapped.is

  • summary: An AccountID32 account tried to interact with the pallet without having a mapping.

    Call [Pallet::map_account] in order to create a mapping for the account.

BalanceConversionFailed

  • interface: api.errors.revive.BalanceConversionFailed.is
  • summary: Failed to convert a U256 to a Balance.

BasicBlockTooLarge

  • interface: api.errors.revive.BasicBlockTooLarge.is
  • summary: The program contains a basic block that is larger than allowed.

BlobTooLarge

  • interface: api.errors.revive.BlobTooLarge.is
  • summary: The code blob supplied is larger than [limits::code::BLOB_BYTES].

CallDataTooLarge

  • interface: api.errors.revive.CallDataTooLarge.is
  • summary: The calldata exceeds [limits::CALLDATA_BYTES].

CannotAddSelfAsDelegateDependency

  • interface: api.errors.revive.CannotAddSelfAsDelegateDependency.is
  • summary: Can not add a delegate dependency to the code hash of the contract itself.

CodeInfoNotFound

  • interface: api.errors.revive.CodeInfoNotFound.is
  • summary: No code info could be found at the supplied code hash.

CodeInUse

  • interface: api.errors.revive.CodeInUse.is
  • summary: Code removal was denied because the code is still in use by at least one contract.

CodeNotFound

  • interface: api.errors.revive.CodeNotFound.is
  • summary: No code could be found at the supplied code hash.

CodeRejected

  • interface: api.errors.revive.CodeRejected.is

  • summary: The contract failed to compile or is missing the correct entry points.

    A more detailed error can be found on the node console if debug messages are enabled by supplying -lruntime::revive=debug.

ContractNotFound

  • interface: api.errors.revive.ContractNotFound.is
  • summary: No contract was found at the specified address.

ContractReverted

  • interface: api.errors.revive.ContractReverted.is
  • summary: The contract ran to completion but decided to revert its storage changes. Please note that this error is only returned from extrinsics. When called directly or via RPC an Ok will be returned. In this case the caller needs to inspect the flags to determine whether a reversion has taken place.

ContractTrapped

  • interface: api.errors.revive.ContractTrapped.is
  • summary: Contract trapped during execution.

DecodingFailed

  • interface: api.errors.revive.DecodingFailed.is
  • summary: Input passed to a contract API function failed to decode as expected type.

DelegateDependencyAlreadyExists

  • interface: api.errors.revive.DelegateDependencyAlreadyExists.is
  • summary: The contract already depends on the given delegate dependency.

DelegateDependencyNotFound

  • interface: api.errors.revive.DelegateDependencyNotFound.is
  • summary: The dependency was not found in the contract's delegate dependencies.

DuplicateContract

  • interface: api.errors.revive.DuplicateContract.is
  • summary: A contract with the same AccountId already exists.

ExecutionFailed

  • interface: api.errors.revive.ExecutionFailed.is
  • summary: PolkaVM failed during code execution. Probably due to a malformed program.

InputForwarded

  • interface: api.errors.revive.InputForwarded.is
  • summary: seal_call forwarded this contracts input. It therefore is no longer available.

InvalidCallFlags

  • interface: api.errors.revive.InvalidCallFlags.is
  • summary: Invalid combination of flags supplied to seal_call or seal_delegate_call.

InvalidGenericTransaction

  • interface: api.errors.revive.InvalidGenericTransaction.is
  • summary: The transaction used to dry-run a contract is invalid.

InvalidImmutableAccess

  • interface: api.errors.revive.InvalidImmutableAccess.is
  • summary: Immutable data can only be set during deploys and only be read during calls. Additionally, it is only valid to set the data once and it must not be empty.

InvalidInstruction

  • interface: api.errors.revive.InvalidInstruction.is
  • summary: The program contains an invalid instruction.

InvalidSchedule

  • interface: api.errors.revive.InvalidSchedule.is
  • summary: Invalid schedule supplied, e.g. with zero weight of a basic operation.

InvalidStorageFlags

  • interface: api.errors.revive.InvalidStorageFlags.is
  • summary: Invalid storage flags were passed to one of the storage syscalls.

InvalidSyscall

  • interface: api.errors.revive.InvalidSyscall.is
  • summary: The contract tried to call a syscall which does not exist (at its current api level).

MaxCallDepthReached

  • interface: api.errors.revive.MaxCallDepthReached.is
  • summary: Performing a call was denied because the calling depth reached the limit of what is specified in the schedule.

MaxDelegateDependenciesReached

  • interface: api.errors.revive.MaxDelegateDependenciesReached.is
  • summary: The contract has reached its maximum number of delegate dependencies.

OutOfBounds

  • interface: api.errors.revive.OutOfBounds.is
  • summary: A buffer outside of sandbox memory was passed to a contract API function.

OutOfGas

  • interface: api.errors.revive.OutOfGas.is
  • summary: The executed contract exhausted its gas limit.

OutOfTransientStorage

  • interface: api.errors.revive.OutOfTransientStorage.is
  • summary: Can not add more data to transient storage.

ReenteredPallet

  • interface: api.errors.revive.ReenteredPallet.is
  • summary: A contract called into the runtime which then called back into this pallet.

ReentranceDenied

  • interface: api.errors.revive.ReentranceDenied.is
  • summary: A call tried to invoke a contract that is flagged as non-reentrant.

RefcountOverOrUnderflow

  • interface: api.errors.revive.RefcountOverOrUnderflow.is
  • summary: The refcount of a code either over or underflowed.

ReturnDataTooLarge

  • interface: api.errors.revive.ReturnDataTooLarge.is
  • summary: The return data exceeds [limits::CALLDATA_BYTES].

StateChangeDenied

  • interface: api.errors.revive.StateChangeDenied.is
  • summary: A contract attempted to invoke a state modifying API while being in read-only mode.

StaticMemoryTooLarge

  • interface: api.errors.revive.StaticMemoryTooLarge.is
  • summary: The contract declares too much memory (ro + rw + stack).

StorageDepositLimitExhausted

  • interface: api.errors.revive.StorageDepositLimitExhausted.is
  • summary: More storage was created than allowed by the storage deposit limit.

StorageDepositNotEnoughFunds

  • interface: api.errors.revive.StorageDepositNotEnoughFunds.is
  • summary: Origin doesn't have enough balance to pay the required storage deposits.

TerminatedInConstructor

  • interface: api.errors.revive.TerminatedInConstructor.is

  • summary: A contract self destructed in its constructor.

    This can be triggered by a call to seal_terminate.

TerminatedWhileReentrant

  • interface: api.errors.revive.TerminatedWhileReentrant.is
  • summary: Termination of a contract is not allowed while the contract is already on the call stack. Can be triggered by seal_terminate.

TooManyTopics

  • interface: api.errors.revive.TooManyTopics.is
  • summary: The amount of topics passed to seal_deposit_events exceeds the limit.

TransferFailed

  • interface: api.errors.revive.TransferFailed.is
  • summary: Performing the requested transfer failed. Probably because there isn't enough free balance in the sender's account.

UnsupportedPrecompileAddress

  • interface: api.errors.revive.UnsupportedPrecompileAddress.is
  • summary: Unsupported precompile address.

ValueTooLarge

  • interface: api.errors.revive.ValueTooLarge.is
  • summary: Event body or storage item exceeds [limits::PAYLOAD_BYTES].

scheduler

FailedToSchedule

  • interface: api.errors.scheduler.FailedToSchedule.is
  • summary: Failed to schedule a call

Named

  • interface: api.errors.scheduler.Named.is
  • summary: Attempt to use a non-named function on a named task.

NotFound

  • interface: api.errors.scheduler.NotFound.is
  • summary: Cannot find the scheduled call.

RescheduleNoChange

  • interface: api.errors.scheduler.RescheduleNoChange.is
  • summary: Reschedule failed because it does not change scheduled time.

TargetBlockNumberInPast

  • interface: api.errors.scheduler.TargetBlockNumberInPast.is
  • summary: Given target block number is in the past.

session

DuplicatedKey

  • interface: api.errors.session.DuplicatedKey.is
  • summary: Registered duplicate key.

InvalidProof

  • interface: api.errors.session.InvalidProof.is
  • summary: Invalid ownership proof.

NoAccount

  • interface: api.errors.session.NoAccount.is
  • summary: Key setting account is not live, so it's impossible to associate keys.

NoAssociatedValidatorId

  • interface: api.errors.session.NoAssociatedValidatorId.is
  • summary: No associated validator ID for account.

NoKeys

  • interface: api.errors.session.NoKeys.is
  • summary: No keys are associated with this account.

society

AlreadyBid

  • interface: api.errors.society.AlreadyBid.is
  • summary: User has already made a bid.

AlreadyCandidate

  • interface: api.errors.society.AlreadyCandidate.is
  • summary: User is already a candidate.

AlreadyElevated

  • interface: api.errors.society.AlreadyElevated.is
  • summary: The member is already elevated to this rank.

AlreadyFounded

  • interface: api.errors.society.AlreadyFounded.is
  • summary: Society already founded.

AlreadyMember

  • interface: api.errors.society.AlreadyMember.is
  • summary: User is already a member.

AlreadyPunished

  • interface: api.errors.society.AlreadyPunished.is
  • summary: The skeptic has already been punished for this offence.

AlreadyVouching

  • interface: api.errors.society.AlreadyVouching.is
  • summary: Member is already vouching or banned from vouching again.

Approved

  • interface: api.errors.society.Approved.is
  • summary: The candidacy cannot be dropped as the candidate was clearly approved.

Expired

  • interface: api.errors.society.Expired.is
  • summary: The skeptic need not vote on candidates from expired rounds.

Founder

  • interface: api.errors.society.Founder.is
  • summary: Cannot remove the founder.
  • interface: api.errors.society.Head.is
  • summary: Cannot remove the head of the chain.

InProgress

  • interface: api.errors.society.InProgress.is
  • summary: The candidacy cannot be concluded as the voting is still in progress.

InsufficientFunds

  • interface: api.errors.society.InsufficientFunds.is
  • summary: Funds are insufficient to pay off society debts.

InsufficientPot

  • interface: api.errors.society.InsufficientPot.is
  • summary: Not enough in pot to accept candidate.

MaxMembers

  • interface: api.errors.society.MaxMembers.is
  • summary: Too many members in the society.

NoDefender

  • interface: api.errors.society.NoDefender.is
  • summary: There is no defender currently.

NoDeposit

  • interface: api.errors.society.NoDeposit.is
  • summary: There is no deposit associated with a bid.

NoPayout

  • interface: api.errors.society.NoPayout.is
  • summary: Nothing to payout.

NotApproved

  • interface: api.errors.society.NotApproved.is
  • summary: The membership cannot be claimed as the candidate was not clearly approved.

NotBidder

  • interface: api.errors.society.NotBidder.is
  • summary: User is not a bidder.

NotCandidate

  • interface: api.errors.society.NotCandidate.is
  • summary: User is not a candidate.

NotFounder

  • interface: api.errors.society.NotFounder.is
  • summary: The caller is not the founder.

NotGroup

  • interface: api.errors.society.NotGroup.is
  • summary: Group doesn't exist.

NotHead

  • interface: api.errors.society.NotHead.is
  • summary: The caller is not the head.

NotMember

  • interface: api.errors.society.NotMember.is
  • summary: User is not a member.

NotRejected

  • interface: api.errors.society.NotRejected.is
  • summary: The candidate cannot be kicked as the candidate was not clearly rejected.

NotSuspended

  • interface: api.errors.society.NotSuspended.is
  • summary: User is not suspended.

NotVouchingOnBidder

  • interface: api.errors.society.NotVouchingOnBidder.is
  • summary: Member is not vouching.

NoVotes

  • interface: api.errors.society.NoVotes.is
  • summary: The candidate/defender has no stale votes to remove.

Rejected

  • interface: api.errors.society.Rejected.is
  • summary: The candidacy cannot be bestowed as the candidate was clearly rejected.

Suspended

  • interface: api.errors.society.Suspended.is
  • summary: User is suspended.

TooEarly

  • interface: api.errors.society.TooEarly.is
  • summary: The candidacy cannot be pruned until a full additional intake period has passed.

Voted

  • interface: api.errors.society.Voted.is
  • summary: The skeptic already voted.

staking

AlreadyBonded

  • interface: api.errors.staking.AlreadyBonded.is
  • summary: Stash is already bonded.

AlreadyClaimed

  • interface: api.errors.staking.AlreadyClaimed.is
  • summary: Rewards for this era have already been claimed for this validator.

AlreadyMigrated

  • interface: api.errors.staking.AlreadyMigrated.is
  • summary: The stake of this account is already migrated to Fungible holds.

AlreadyPaired

  • interface: api.errors.staking.AlreadyPaired.is
  • summary: Controller is already paired.

BadState

  • interface: api.errors.staking.BadState.is
  • summary: Internal state has become somehow corrupted and the operation cannot continue.

BadTarget

  • interface: api.errors.staking.BadTarget.is
  • summary: A nomination target was supplied that was blocked or otherwise not a validator.

BoundNotMet

  • interface: api.errors.staking.BoundNotMet.is
  • summary: Some bound is not met.

CancelledSlash

  • interface: api.errors.staking.CancelledSlash.is
  • summary: The slash has been cancelled and cannot be applied.

CannotChillOther

  • interface: api.errors.staking.CannotChillOther.is
  • summary: The user has enough bond and thus cannot be chilled forcefully by an external person.

CannotReapStash

  • interface: api.errors.staking.CannotReapStash.is
  • summary: Stash could not be reaped as other pallet might depend on it.

CannotRestoreLedger

  • interface: api.errors.staking.CannotRestoreLedger.is
  • summary: Cannot reset a ledger.

CommissionTooLow

  • interface: api.errors.staking.CommissionTooLow.is
  • summary: Commission is too low. Must be at least MinCommission.

ControllerDeprecated

  • interface: api.errors.staking.ControllerDeprecated.is
  • summary: Used when attempting to use deprecated controller account logic.

DuplicateIndex

  • interface: api.errors.staking.DuplicateIndex.is
  • summary: Duplicate index.

EmptyTargets

  • interface: api.errors.staking.EmptyTargets.is
  • summary: Targets cannot be empty.

EraNotPrunable

  • interface: api.errors.staking.EraNotPrunable.is
  • summary: The era is not eligible for pruning.

EraNotStarted

  • interface: api.errors.staking.EraNotStarted.is
  • summary: Era not yet started.

FundedTarget

  • interface: api.errors.staking.FundedTarget.is
  • summary: Attempting to target a stash that still has funds.

IncorrectHistoryDepth

  • interface: api.errors.staking.IncorrectHistoryDepth.is
  • summary: Incorrect previous history depth input provided.

InsufficientBond

  • interface: api.errors.staking.InsufficientBond.is
  • summary: Cannot bond, nominate or validate with value less than the minimum defined by governance (see MinValidatorBond and MinNominatorBond). If unbonding is the intention, chill first to remove one's role as validator/nominator.

InvalidEraToReward

  • interface: api.errors.staking.InvalidEraToReward.is
  • summary: Invalid era to reward.

InvalidNumberOfNominations

  • interface: api.errors.staking.InvalidNumberOfNominations.is
  • summary: Invalid number of nominations.

InvalidPage

  • interface: api.errors.staking.InvalidPage.is
  • summary: No nominators exist on this page.

InvalidSlashRecord

  • interface: api.errors.staking.InvalidSlashRecord.is
  • summary: Slash record not found.

NoMoreChunks

  • interface: api.errors.staking.NoMoreChunks.is
  • summary: Can not schedule more unlock chunks.

NotController

  • interface: api.errors.staking.NotController.is
  • summary: Not a controller account.

NotEnoughFunds

  • interface: api.errors.staking.NotEnoughFunds.is
  • summary: Not enough funds available to withdraw.

NotStash

  • interface: api.errors.staking.NotStash.is
  • summary: Not a stash account.

NoUnlockChunk

  • interface: api.errors.staking.NoUnlockChunk.is
  • summary: Can not rebond without unlocking chunks.

Restricted

  • interface: api.errors.staking.Restricted.is
  • summary: Account is restricted from participation in staking. This may happen if the account is staking in another way already, such as via pool.

RewardDestinationRestricted

  • interface: api.errors.staking.RewardDestinationRestricted.is
  • summary: Provided reward destination is not allowed.

TooManyNominators

  • interface: api.errors.staking.TooManyNominators.is
  • summary: There are too many nominators in the system. Governance needs to adjust the staking settings to keep things safe for the runtime.

TooManyTargets

  • interface: api.errors.staking.TooManyTargets.is
  • summary: Too many nomination targets supplied.

TooManyValidators

  • interface: api.errors.staking.TooManyValidators.is
  • summary: There are too many validator candidates in the system. Governance needs to adjust the staking settings to keep things safe for the runtime.

UnappliedSlashesInPreviousEra

  • interface: api.errors.staking.UnappliedSlashesInPreviousEra.is
  • summary: Unapplied slashes in the recently concluded era is blocking this operation. See Call::apply_slash to apply them.

VirtualStakerNotAllowed

  • interface: api.errors.staking.VirtualStakerNotAllowed.is
  • summary: Operation not allowed for virtual stakers.

stateTrieMigration

BadChildRoot

  • interface: api.errors.stateTrieMigration.BadChildRoot.is
  • summary: Bad child root provided.

BadWitness

  • interface: api.errors.stateTrieMigration.BadWitness.is
  • summary: Bad witness data provided.

KeyTooLong

  • interface: api.errors.stateTrieMigration.KeyTooLong.is

  • summary: A key was longer than the configured maximum.

    This means that the migration halted at the current [Progress] and can be resumed with a larger [crate::Config::MaxKeyLen] value. Retrying with the same [crate::Config::MaxKeyLen] value will not work. The value should only be increased to avoid a storage migration for the currently stored [crate::Progress::LastKey].

MaxSignedLimits

  • interface: api.errors.stateTrieMigration.MaxSignedLimits.is
  • summary: Max signed limits not respected.

NotEnoughFunds

  • interface: api.errors.stateTrieMigration.NotEnoughFunds.is
  • summary: submitter does not have enough funds.

SignedMigrationNotAllowed

  • interface: api.errors.stateTrieMigration.SignedMigrationNotAllowed.is
  • summary: Signed migration is not allowed because the maximum limit is not set yet.

system

CallFiltered

  • interface: api.errors.system.CallFiltered.is
  • summary: The origin filter prevent the call to be dispatched.

FailedTask

  • interface: api.errors.system.FailedTask.is
  • summary: The specified [Task] failed during execution.

FailedToExtractRuntimeVersion

  • interface: api.errors.system.FailedToExtractRuntimeVersion.is

  • summary: Failed to extract the runtime version from the new runtime.

    Either calling Core_version or decoding RuntimeVersion failed.

InvalidSpecName

  • interface: api.errors.system.InvalidSpecName.is
  • summary: The name of specification does not match between the current runtime and the new runtime.

InvalidTask

  • interface: api.errors.system.InvalidTask.is
  • summary: The specified [Task] is not valid.

MultiBlockMigrationsOngoing

  • interface: api.errors.system.MultiBlockMigrationsOngoing.is
  • summary: A multi-block migration is ongoing and prevents the current code from being replaced.

NonDefaultComposite

  • interface: api.errors.system.NonDefaultComposite.is
  • summary: Suicide called when the account has non-default composite data.

NonZeroRefCount

  • interface: api.errors.system.NonZeroRefCount.is
  • summary: There is a non-zero reference count preventing the account from being purged.

NothingAuthorized

  • interface: api.errors.system.NothingAuthorized.is
  • summary: No upgrade authorized.

SpecVersionNeedsToIncrease

  • interface: api.errors.system.SpecVersionNeedsToIncrease.is
  • summary: The specification version is not allowed to decrease between the current runtime and the new runtime.

Unauthorized

  • interface: api.errors.system.Unauthorized.is
  • summary: The submitted code is not authorized.

treasury

AlreadyAttempted

  • interface: api.errors.treasury.AlreadyAttempted.is
  • summary: The payment has already been attempted.

EarlyPayout

  • interface: api.errors.treasury.EarlyPayout.is
  • summary: The spend is not yet eligible for payout.

FailedToConvertBalance

  • interface: api.errors.treasury.FailedToConvertBalance.is
  • summary: The balance of the asset kind is not convertible to the balance of the native asset.

Inconclusive

  • interface: api.errors.treasury.Inconclusive.is
  • summary: The payment has neither failed nor succeeded yet.

InsufficientPermission

  • interface: api.errors.treasury.InsufficientPermission.is
  • summary: The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent.

InvalidIndex

  • interface: api.errors.treasury.InvalidIndex.is
  • summary: No proposal, bounty or spend at that index.

NotAttempted

  • interface: api.errors.treasury.NotAttempted.is
  • summary: The payout was not yet attempted/claimed.

PayoutError

  • interface: api.errors.treasury.PayoutError.is
  • summary: There was some issue with the mechanism of payment.

ProposalNotApproved

  • interface: api.errors.treasury.ProposalNotApproved.is
  • summary: Proposal has not been approved.

SpendExpired

  • interface: api.errors.treasury.SpendExpired.is
  • summary: The spend has expired and cannot be claimed.

TooManyApprovals

  • interface: api.errors.treasury.TooManyApprovals.is
  • summary: Too many approvals in the queue.

uniques

AlreadyExists

  • interface: api.errors.uniques.AlreadyExists.is
  • summary: The item ID has already been used for an item.

AttributeNotFound

  • interface: api.errors.uniques.AttributeNotFound.is
  • summary: An attribute is not found.

BadWitness

  • interface: api.errors.uniques.BadWitness.is
  • summary: Invalid witness data given.

BidTooLow

  • interface: api.errors.uniques.BidTooLow.is
  • summary: The provided bid is too low.

Frozen

  • interface: api.errors.uniques.Frozen.is
  • summary: The item or collection is frozen.

InUse

  • interface: api.errors.uniques.InUse.is
  • summary: The item ID is already taken.

Locked

  • interface: api.errors.uniques.Locked.is
  • summary: The item is locked.

MaxSupplyAlreadySet

  • interface: api.errors.uniques.MaxSupplyAlreadySet.is
  • summary: The max supply has already been set.

MaxSupplyReached

  • interface: api.errors.uniques.MaxSupplyReached.is
  • summary: All items have been minted.

MaxSupplyTooSmall

  • interface: api.errors.uniques.MaxSupplyTooSmall.is
  • summary: The provided max supply is less to the amount of items a collection already has.

NoDelegate

  • interface: api.errors.uniques.NoDelegate.is
  • summary: There is no delegate approved.

NoMetadata

  • interface: api.errors.uniques.NoMetadata.is
  • summary: No metadata is found.

NoPermission

  • interface: api.errors.uniques.NoPermission.is
  • summary: The signing account has no permission to do the operation.

NotForSale

  • interface: api.errors.uniques.NotForSale.is
  • summary: Item is not for sale.

Unaccepted

  • interface: api.errors.uniques.Unaccepted.is
  • summary: The named owner has not signed ownership of the collection is acceptable.

Unapproved

  • interface: api.errors.uniques.Unapproved.is
  • summary: No approval exists that would allow the transfer.

UnknownCollection

  • interface: api.errors.uniques.UnknownCollection.is
  • summary: The given item ID is unknown.

UnknownItem

  • interface: api.errors.uniques.UnknownItem.is
  • summary: The given item ID is unknown.

WrongAttribute

  • interface: api.errors.uniques.WrongAttribute.is
  • summary: Wrong attribute key/value bytes supplied.

WrongDelegate

  • interface: api.errors.uniques.WrongDelegate.is
  • summary: The delegate turned out to be different to what was expected.

WrongMetadata

  • interface: api.errors.uniques.WrongMetadata.is
  • summary: Wrong metadata key/value bytes supplied.

WrongOwner

  • interface: api.errors.uniques.WrongOwner.is
  • summary: The owner turned out to be different to what was expected.

utility

TooManyCalls

  • interface: api.errors.utility.TooManyCalls.is
  • summary: Too many calls batched.

vesting

AmountLow

  • interface: api.errors.vesting.AmountLow.is
  • summary: Amount being transferred is too low to create a vesting schedule.

AtMaxVestingSchedules

  • interface: api.errors.vesting.AtMaxVestingSchedules.is
  • summary: The account already has MaxVestingSchedules count of schedules and thus cannot add another one. Consider merging existing schedules in order to add another.

InvalidScheduleParams

  • interface: api.errors.vesting.InvalidScheduleParams.is
  • summary: Failed to create a new schedule because some parameter was invalid.

NotVesting

  • interface: api.errors.vesting.NotVesting.is
  • summary: The account given is not vesting.

ScheduleIndexOutOfBounds

  • interface: api.errors.vesting.ScheduleIndexOutOfBounds.is
  • summary: An index was out of bounds of the vesting schedules.

voterList

List

  • interface: api.errors.voterList.List.is
  • summary: A error in the list interface implementation.

Locked

  • interface: api.errors.voterList.Locked.is
  • summary: Could not update a node, because the pallet is locked.

whitelist

CallAlreadyWhitelisted

  • interface: api.errors.whitelist.CallAlreadyWhitelisted.is
  • summary: The call was already whitelisted; No-Op.

CallIsNotWhitelisted

  • interface: api.errors.whitelist.CallIsNotWhitelisted.is
  • summary: The call was not whitelisted.

InvalidCallWeightWitness

  • interface: api.errors.whitelist.InvalidCallWeightWitness.is
  • summary: The weight of the decoded call was higher than the witness.

UnavailablePreImage

  • interface: api.errors.whitelist.UnavailablePreImage.is
  • summary: The preimage of the call hash could not be loaded.

UndecodableCall

  • interface: api.errors.whitelist.UndecodableCall.is
  • summary: The call could not be decoded.

xcmpQueue

AlreadyResumed

  • interface: api.errors.xcmpQueue.AlreadyResumed.is
  • summary: The execution is already resumed.

AlreadySuspended

  • interface: api.errors.xcmpQueue.AlreadySuspended.is
  • summary: The execution is already suspended.

BadQueueConfig

  • interface: api.errors.xcmpQueue.BadQueueConfig.is
  • summary: Setting the queue config failed since one of its values was invalid.

TooBig

  • interface: api.errors.xcmpQueue.TooBig.is
  • summary: The message is too big.

TooManyActiveOutboundChannels

  • interface: api.errors.xcmpQueue.TooManyActiveOutboundChannels.is
  • summary: There are too many active outbound channels.