title: 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 Substrate master node. Some items may not be available in older nodes, or in any customized implementations.)


asset

AlreadyArchived

  • interface: api.errors.asset.AlreadyArchived.is
  • summary: When extension already archived.

AlreadyFrozen

  • interface: api.errors.asset.AlreadyFrozen.is
  • summary: The token is already frozen.

AlreadyUnArchived

  • interface: api.errors.asset.AlreadyUnArchived.is
  • summary: When extension already un-archived.

AssetAlreadyCreated

  • interface: api.errors.asset.AssetAlreadyCreated.is
  • summary: The token has already been created.

AssetAlreadyDivisible

  • interface: api.errors.asset.AssetAlreadyDivisible.is
  • summary: The token is already divisible.

BalanceOverflow

  • interface: api.errors.asset.BalanceOverflow.is
  • summary: An overflow while calculating the balance.

ExtensionAlreadyPresent

  • interface: api.errors.asset.ExtensionAlreadyPresent.is
  • summary: When extension is already added.

FundingRoundNameMaxLengthExceeded

  • interface: api.errors.asset.FundingRoundNameMaxLengthExceeded.is
  • summary: Maximum length of the funding round name has been exceeded.

IncompatibleExtensionVersion

  • interface: api.errors.asset.IncompatibleExtensionVersion.is
  • summary: Given smart extension is not compatible with the asset.

InsufficientBalance

  • interface: api.errors.asset.InsufficientBalance.is
  • summary: The sender balance is not sufficient.

InvalidAssetIdentifier

  • interface: api.errors.asset.InvalidAssetIdentifier.is
  • summary: Some AssetIdentifier was invalid.

InvalidCustomAssetTypeId

  • interface: api.errors.asset.InvalidCustomAssetTypeId.is
  • summary: Invalid CustomAssetTypeId.

InvalidEthereumSignature

  • interface: api.errors.asset.InvalidEthereumSignature.is
  • summary: An invalid Ethereum EcdsaSignature.

InvalidGranularity

  • interface: api.errors.asset.InvalidGranularity.is
  • summary: An invalid granularity.

InvalidTransfer

  • interface: api.errors.asset.InvalidTransfer.is
  • summary: Transfer validation check failed.

InvestorUniquenessClaimNotAllowed

  • interface: api.errors.asset.InvestorUniquenessClaimNotAllowed.is
  • summary: Investor Uniqueness claims are not allowed for this asset.

MaximumTMExtensionLimitReached

  • interface: api.errors.asset.MaximumTMExtensionLimitReached.is
  • summary: Number of Transfer Manager extensions attached to an asset is equal to MaxNumberOfTMExtensionForAsset.

MaxLengthOfAssetNameExceeded

  • interface: api.errors.asset.MaxLengthOfAssetNameExceeded.is
  • summary: Maximum length of asset name has been exceeded.

NoSuchAsset

  • interface: api.errors.asset.NoSuchAsset.is
  • summary: No such token.

NoSuchClassicTicker

  • interface: api.errors.asset.NoSuchClassicTicker.is
  • summary: The given ticker is not a classic one.

NoSuchDoc

  • interface: api.errors.asset.NoSuchDoc.is
  • summary: The given Document does not exist.

NotAnOwner

  • interface: api.errors.asset.NotAnOwner.is
  • summary: Not an owner of the token on Ethereum.

NotFrozen

  • interface: api.errors.asset.NotFrozen.is
  • summary: The asset must be frozen.

SenderSameAsReceiver

  • interface: api.errors.asset.SenderSameAsReceiver.is
  • summary: Transfers to self are not allowed

TickerAlreadyRegistered

  • interface: api.errors.asset.TickerAlreadyRegistered.is
  • summary: The ticker is already registered to someone else.

TickerNotAscii

  • interface: api.errors.asset.TickerNotAscii.is
  • summary: The ticker has non-ascii-encoded parts.

TickerRegistrationExpired

  • interface: api.errors.asset.TickerRegistrationExpired.is
  • summary: Registration of ticker has expired.

TickerTooLong

  • interface: api.errors.asset.TickerTooLong.is
  • summary: The ticker length is over the limit.

TotalSupplyAboveLimit

  • interface: api.errors.asset.TotalSupplyAboveLimit.is
  • summary: The total supply is above the limit.

TotalSupplyOverflow

  • interface: api.errors.asset.TotalSupplyOverflow.is
  • summary: An overflow while calculating the total supply.

Unauthorized

  • interface: api.errors.asset.Unauthorized.is
  • summary: The user is not authorized.

authorship

GenesisUncle

  • interface: api.errors.authorship.GenesisUncle.is
  • summary: The uncle is genesis.

InvalidUncleParent

  • interface: api.errors.authorship.InvalidUncleParent.is
  • summary: The uncle parent not in the chain.

OldUncle

  • interface: api.errors.authorship.OldUncle.is
  • summary: The uncle isn't recent enough to be included.

TooHighUncle

  • interface: api.errors.authorship.TooHighUncle.is
  • summary: The uncle is too high in chain.

TooManyUncles

  • interface: api.errors.authorship.TooManyUncles.is
  • summary: Too many uncles.

UncleAlreadyIncluded

  • interface: api.errors.authorship.UncleAlreadyIncluded.is
  • summary: The uncle is already included.

UnclesAlreadySet

  • interface: api.errors.authorship.UnclesAlreadySet.is
  • summary: Uncles already set in the block.

balances

ExistentialDeposit

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

InsufficientBalance

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

LiquidityRestrictions

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

Overflow

  • interface: api.errors.balances.Overflow.is
  • summary: Got an overflow after adding

ReceiverCddMissing

  • interface: api.errors.balances.ReceiverCddMissing.is
  • summary: Receiver does not have a valid CDD

base

CounterOverflow

  • interface: api.errors.base.CounterOverflow.is

  • summary: The sequence counter for something overflowed.

    When this happens depends on e.g., the capacity of the identifier type. For example, we might have pub struct PipId(u32);, with u32::MAX capacity. In practice, these errors will never happen but no code path should result in a panic, so these corner cases need to be covered with an error variant.

TooLong

  • interface: api.errors.base.TooLong.is
  • summary: Exceeded a generic length limit. The limit could be for any sort of lists of things, including a string.

bridge

BadAdmin

  • interface: api.errors.bridge.BadAdmin.is
  • summary: The origin is not the admin address.

BadCaller

  • interface: api.errors.bridge.BadCaller.is
  • summary: The origin is not the controller or the admin address.

BridgeLimitReached

  • interface: api.errors.bridge.BridgeLimitReached.is
  • summary: The identity's minted total has reached the bridge limit.

ControllerNotSet

  • interface: api.errors.bridge.ControllerNotSet.is
  • summary: The bridge controller address is not set.

DivisionByZero

  • interface: api.errors.bridge.DivisionByZero.is
  • summary: The block interval duration is zero. Cannot divide.

Frozen

  • interface: api.errors.bridge.Frozen.is
  • summary: The bridge is already frozen.

FrozenTx

  • interface: api.errors.bridge.FrozenTx.is
  • summary: The transaction is frozen.

NotFrozen

  • interface: api.errors.bridge.NotFrozen.is
  • summary: The bridge is not frozen.

NoValidCdd

  • interface: api.errors.bridge.NoValidCdd.is
  • summary: The recipient DID has no valid CDD.

Overflow

  • interface: api.errors.bridge.Overflow.is
  • summary: The identity's minted total has overflowed.

ProposalAlreadyHandled

  • interface: api.errors.bridge.ProposalAlreadyHandled.is
  • summary: The bridge transaction proposal has already been handled and the funds minted.

TimelockedTx

  • interface: api.errors.bridge.TimelockedTx.is
  • summary: The transaction is timelocked.

Unauthorized

  • interface: api.errors.bridge.Unauthorized.is
  • summary: Unauthorized to perform an operation.

capitalDistribution

AlreadyExists

  • interface: api.errors.capitalDistribution.AlreadyExists.is
  • summary: A distribution already exists for this CA.

AlreadyReclaimed

  • interface: api.errors.capitalDistribution.AlreadyReclaimed.is
  • summary: DID who created the distribution already did reclaim.

BalancePerShareProductOverflowed

  • interface: api.errors.capitalDistribution.BalancePerShareProductOverflowed.is
  • summary: Multiplication of the balance with the per share payout amount overflowed.

CannotClaimAfterExpiry

  • interface: api.errors.capitalDistribution.CannotClaimAfterExpiry.is
  • summary: Distribution's expiry has passed. DID cannot claim anymore and has forfeited the benefits.

CannotClaimBeforeStart

  • interface: api.errors.capitalDistribution.CannotClaimBeforeStart.is
  • summary: Distribution allotment cannot be claimed as the current time is before start-of-payment.

CANotBenefit

  • interface: api.errors.capitalDistribution.CANotBenefit.is
  • summary: A capital distribution was made for a non-benefit CA.

DistributingAsset

  • interface: api.errors.capitalDistribution.DistributingAsset.is
  • summary: Currency that is distributed is the same as the CA's ticker. Calling agent is attempting a form of stock split, which is not what the extrinsic is for.

DistributionStarted

  • interface: api.errors.capitalDistribution.DistributionStarted.is
  • summary: A distribution has been activated, as payment_at <= now holds.

ExpiryBeforePayment

  • interface: api.errors.capitalDistribution.ExpiryBeforePayment.is
  • summary: A distributions provided expiry date was strictly before its payment date. In other words, everything to distribute would immediately be forfeited.

HolderAlreadyPaid

  • interface: api.errors.capitalDistribution.HolderAlreadyPaid.is
  • summary: The token holder has already been paid their benefit.

InsufficientRemainingAmount

  • interface: api.errors.capitalDistribution.InsufficientRemainingAmount.is
  • summary: A distribution has insufficient remaining amount of currency to distribute.

NoSuchDistribution

  • interface: api.errors.capitalDistribution.NoSuchDistribution.is
  • summary: A capital distribution doesn't exist for this CA.

NotDistributionCreator

  • interface: api.errors.capitalDistribution.NotDistributionCreator.is
  • summary: DID is not the one who created the distribution.

NotExpired

  • interface: api.errors.capitalDistribution.NotExpired.is
  • summary: Distribution had not expired yet, or there's no expiry date.

cddServiceProviders

ActiveMembersLimitExceeded

  • interface: api.errors.cddServiceProviders.ActiveMembersLimitExceeded.is
  • summary: The limit for the number of concurrent active members for this group has been exceeded.

ActiveMembersLimitOverflow

  • interface: api.errors.cddServiceProviders.ActiveMembersLimitOverflow.is
  • summary: Active member limit was greater than maximum committee members limit.

DuplicateMember

  • interface: api.errors.cddServiceProviders.DuplicateMember.is
  • summary: Group member was added already.

LastMemberCannotQuit

  • interface: api.errors.cddServiceProviders.LastMemberCannotQuit.is
  • summary: Last member of the committee can not quit.

MissingCurrentIdentity

  • interface: api.errors.cddServiceProviders.MissingCurrentIdentity.is
  • summary: Missing current DID

NoSuchMember

  • interface: api.errors.cddServiceProviders.NoSuchMember.is
  • summary: Can't remove a member that doesn't exist.

OnlyPrimaryKeyAllowed

  • interface: api.errors.cddServiceProviders.OnlyPrimaryKeyAllowed.is
  • summary: Only primary key of the identity is allowed.

checkpoint

FailedToComputeNextCheckpoint

  • interface: api.errors.checkpoint.FailedToComputeNextCheckpoint.is
  • summary: Failed to compute the next checkpoint. The schedule does not have any upcoming checkpoints.

NoSuchSchedule

  • interface: api.errors.checkpoint.NoSuchSchedule.is
  • summary: A checkpoint schedule does not exist for the asset.

ScheduleDurationTooShort

  • interface: api.errors.checkpoint.ScheduleDurationTooShort.is
  • summary: The duration of a schedule period is too short.

ScheduleNotRemovable

  • interface: api.errors.checkpoint.ScheduleNotRemovable.is
  • summary: A checkpoint schedule is not removable as ref_count(schedule_id) > 0.

SchedulesTooComplex

  • interface: api.errors.checkpoint.SchedulesTooComplex.is
  • summary: The set of schedules taken together are too complex. For example, they are too many, or they occurs too frequently.

committeeMembership

ActiveMembersLimitExceeded

  • interface: api.errors.committeeMembership.ActiveMembersLimitExceeded.is
  • summary: The limit for the number of concurrent active members for this group has been exceeded.

ActiveMembersLimitOverflow

  • interface: api.errors.committeeMembership.ActiveMembersLimitOverflow.is
  • summary: Active member limit was greater than maximum committee members limit.

DuplicateMember

  • interface: api.errors.committeeMembership.DuplicateMember.is
  • summary: Group member was added already.

LastMemberCannotQuit

  • interface: api.errors.committeeMembership.LastMemberCannotQuit.is
  • summary: Last member of the committee can not quit.

MissingCurrentIdentity

  • interface: api.errors.committeeMembership.MissingCurrentIdentity.is
  • summary: Missing current DID

NoSuchMember

  • interface: api.errors.committeeMembership.NoSuchMember.is
  • summary: Can't remove a member that doesn't exist.

OnlyPrimaryKeyAllowed

  • interface: api.errors.committeeMembership.OnlyPrimaryKeyAllowed.is
  • summary: Only primary key of the identity is allowed.

complianceManager

ComplianceRequirementTooComplex

  • interface: api.errors.complianceManager.ComplianceRequirementTooComplex.is
  • summary: The worst case scenario of the compliance requirement is too complex

DidNotExist

  • interface: api.errors.complianceManager.DidNotExist.is
  • summary: Did not exist

DuplicateComplianceRequirements

  • interface: api.errors.complianceManager.DuplicateComplianceRequirements.is
  • summary: There are duplicate compliance requirements.

IncorrectOperationOnTrustedIssuer

  • interface: api.errors.complianceManager.IncorrectOperationOnTrustedIssuer.is
  • summary: Issuer exist but trying to add it again

InvalidComplianceRequirementId

  • interface: api.errors.complianceManager.InvalidComplianceRequirementId.is
  • summary: Compliance requirement id doesn't exist

Unauthorized

  • interface: api.errors.complianceManager.Unauthorized.is
  • summary: User is not authorized.

corporateAction

AuthNotCAATransfer

  • interface: api.errors.corporateAction.AuthNotCAATransfer.is
  • summary: The authorization type is not to transfer the CAA to another DID.

DeclDateAfterRecordDate

  • interface: api.errors.corporateAction.DeclDateAfterRecordDate.is
  • summary: A CA's declaration date was strictly after its record date.

DeclDateInFuture

  • interface: api.errors.corporateAction.DeclDateInFuture.is
  • summary: A CA's declaration date occurs in the future.

DetailsTooLong

  • interface: api.errors.corporateAction.DetailsTooLong.is
  • summary: The details of a CA exceeded the max allowed length.

DuplicateDidTax

  • interface: api.errors.corporateAction.DuplicateDidTax.is
  • summary: A withholding tax override for a given DID was specified more than once. The chain refused to make a choice, and hence there was an error.

NoRecordDate

  • interface: api.errors.corporateAction.NoRecordDate.is
  • summary: The CA did not have a record date.

NoSuchCA

  • interface: api.errors.corporateAction.NoSuchCA.is
  • summary: A CA with the given CAId did not exist.

NoSuchCheckpointId

  • interface: api.errors.corporateAction.NoSuchCheckpointId.is
  • summary: On CA creation, a checkpoint ID was provided which doesn't exist.

NotTargetedByCA

  • interface: api.errors.corporateAction.NotTargetedByCA.is
  • summary: CA does not target the DID.

RecordDateAfterStart

  • interface: api.errors.corporateAction.RecordDateAfterStart.is
  • summary: A CA's record date was strictly after the "start" time, where "start" is context dependent. For example, it could be the start of a ballot, or the start-of-payment in capital distribution.

TooManyDidTaxes

  • interface: api.errors.corporateAction.TooManyDidTaxes.is
  • summary: Too many withholding tax overrides were specified.

TooManyTargetIds

  • interface: api.errors.corporateAction.TooManyTargetIds.is
  • summary: Too many identities in TargetIdentities were specified.

corporateBallot

AlreadyExists

  • interface: api.errors.corporateBallot.AlreadyExists.is
  • summary: A corporate ballot already exists for this CA.

CANotNotice

  • interface: api.errors.corporateBallot.CANotNotice.is
  • summary: A corporate ballot was made for a non IssuerNotice CA.

InsufficientVotes

  • interface: api.errors.corporateBallot.InsufficientVotes.is
  • summary: Voting power used by a DID on a motion exceeds that which is available to them.

NoSuchBallot

  • interface: api.errors.corporateBallot.NoSuchBallot.is
  • summary: A corporate ballot doesn't exist for this CA.

NoSuchRCVFallback

  • interface: api.errors.corporateBallot.NoSuchRCVFallback.is
  • summary: The RCV fallback of some choice does not exist.

NowAfterEnd

  • interface: api.errors.corporateBallot.NowAfterEnd.is
  • summary: A corporate ballot's end time was strictly before the current time.

NumberOfChoicesOverflow

  • interface: api.errors.corporateBallot.NumberOfChoicesOverflow.is
  • summary: If some motion in a corporate ballot has more choices than would fit in u16.

RCVNotAllowed

  • interface: api.errors.corporateBallot.RCVNotAllowed.is
  • summary: RCV is not allowed for this ballot.

RCVSelfCycle

  • interface: api.errors.corporateBallot.RCVSelfCycle.is
  • summary: The RCV fallback points to the origin choice.

StartAfterEnd

  • interface: api.errors.corporateBallot.StartAfterEnd.is
  • summary: A corporate ballot's start time was strictly after the ballot's end.

VotingAlreadyEnded

  • interface: api.errors.corporateBallot.VotingAlreadyEnded.is
  • summary: Voting ended already.

VotingAlreadyStarted

  • interface: api.errors.corporateBallot.VotingAlreadyStarted.is
  • summary: Voting started already. Amending a ballot is no longer possible.

VotingNotStarted

  • interface: api.errors.corporateBallot.VotingNotStarted.is
  • summary: Voting hasn't started yet.

WrongVoteCount

  • interface: api.errors.corporateBallot.WrongVoteCount.is
  • summary: Provided list of balances does not match the total number of choices.

externalAgents

AlreadyAnAgent

  • interface: api.errors.externalAgents.AlreadyAnAgent.is
  • summary: The provided agent is already an agent for the Ticker.

NoSuchAG

  • interface: api.errors.externalAgents.NoSuchAG.is
  • summary: An AG with the given AGId did not exist for the Ticker.

NotAnAgent

  • interface: api.errors.externalAgents.NotAnAgent.is
  • summary: The provided agent is not an agent for the Ticker.

RemovingLastFullAgent

  • interface: api.errors.externalAgents.RemovingLastFullAgent.is
  • summary: This agent is the last full one, and it's being removed, making the asset orphaned.

SecondaryKeyNotAuthorizedForAsset

  • interface: api.errors.externalAgents.SecondaryKeyNotAuthorizedForAsset.is
  • summary: The caller's secondary key does not have the required asset permission.

UnauthorizedAgent

  • interface: api.errors.externalAgents.UnauthorizedAgent.is
  • summary: The agent is not authorized to call the current extrinsic.

grandpa

ChangePending

  • interface: api.errors.grandpa.ChangePending.is
  • summary: Attempt to signal GRANDPA change with one already pending.

DuplicateOffenceReport

  • interface: api.errors.grandpa.DuplicateOffenceReport.is
  • summary: A given equivocation report is valid but already previously reported.

InvalidEquivocationProof

  • interface: api.errors.grandpa.InvalidEquivocationProof.is
  • summary: An equivocation proof provided as part of an equivocation report is invalid.

InvalidKeyOwnershipProof

  • interface: api.errors.grandpa.InvalidKeyOwnershipProof.is
  • summary: A key ownership proof provided as part of an equivocation report is invalid.

PauseFailed

  • interface: api.errors.grandpa.PauseFailed.is
  • summary: Attempt to signal GRANDPA pause when the authority set isn't live (either paused or already pending pause).

ResumeFailed

  • interface: api.errors.grandpa.ResumeFailed.is
  • summary: Attempt to signal GRANDPA resume when the authority set isn't paused (either live or already pending resume).

TooSoon

  • interface: api.errors.grandpa.TooSoon.is
  • summary: Cannot signal forced change so soon after last.

identity

AccountKeyIsBeingUsed

  • interface: api.errors.identity.AccountKeyIsBeingUsed.is
  • summary: The account key is being used, it can't be unlinked.

AlreadyLinked

  • interface: api.errors.identity.AlreadyLinked.is
  • summary: One secondary or primary key can only belong to one DID

AuthorizationExpired

  • interface: api.errors.identity.AuthorizationExpired.is
  • summary: The offchain authorization has expired.

AuthorizationHasBeenRevoked

  • interface: api.errors.identity.AuthorizationHasBeenRevoked.is
  • summary: Authorization has been explicitly revoked.

AuthorizationsNotForSameDids

  • interface: api.errors.identity.AuthorizationsNotForSameDids.is
  • summary: Authorizations are not for the same DID.

CannotDecodeSignerAccountId

  • interface: api.errors.identity.CannotDecodeSignerAccountId.is
  • summary: Cannot convert a T::AccountId to AnySignature::Signer::AccountId.

CDDIdNotUniqueForIdentity

  • interface: api.errors.identity.CDDIdNotUniqueForIdentity.is
  • summary: CDDId should be unique & same within all cdd claims possessed by a DID.

ClaimAndProofVersionsDoNotMatch

  • interface: api.errors.identity.ClaimAndProofVersionsDoNotMatch.is
  • summary: Claim and Proof versions are different.

ClaimVariantNotAllowed

  • interface: api.errors.identity.ClaimVariantNotAllowed.is
  • summary: Try to add a claim variant using un-designated extrinsic.

ConfidentialScopeClaimNotAllowed

  • interface: api.errors.identity.ConfidentialScopeClaimNotAllowed.is
  • summary: Confidential Scope claims can be added by an Identity to it-self.

CurrentIdentityCannotBeForwarded

  • interface: api.errors.identity.CurrentIdentityCannotBeForwarded.is
  • summary: Current identity cannot be forwarded, it is not a secondary key of target identity.

CustomScopeTooLong

  • interface: api.errors.identity.CustomScopeTooLong.is
  • summary: A custom scope is too long. It can at most be 32 characters long.

DidAlreadyExists

  • interface: api.errors.identity.DidAlreadyExists.is
  • summary: The DID already exists.

DidDoesNotExist

  • interface: api.errors.identity.DidDoesNotExist.is
  • summary: The DID does not exist.

DidMustAlreadyExist

  • interface: api.errors.identity.DidMustAlreadyExist.is
  • summary: The DID must already exist.

FailedToChargeFee

  • interface: api.errors.identity.FailedToChargeFee.is
  • summary: Couldn't charge fee for the transaction.

InvalidAccountKey

  • interface: api.errors.identity.InvalidAccountKey.is
  • summary: Account Id cannot be extracted from signer

InvalidAuthorizationFromCddProvider

  • interface: api.errors.identity.InvalidAuthorizationFromCddProvider.is
  • summary: An invalid authorization from the CDD provider.

InvalidAuthorizationFromOwner

  • interface: api.errors.identity.InvalidAuthorizationFromOwner.is
  • summary: An invalid authorization from the owner.

InvalidAuthorizationSignature

  • interface: api.errors.identity.InvalidAuthorizationSignature.is
  • summary: An invalid authorization signature.

InvalidCDDId

  • interface: api.errors.identity.InvalidCDDId.is
  • summary: Non systematic CDD providers can not create default cdd_id claims.

InvalidScopeClaim

  • interface: api.errors.identity.InvalidScopeClaim.is
  • summary: Addition of a new scope claim gets invalidated.

KeyNotAllowed

  • interface: api.errors.identity.KeyNotAllowed.is
  • summary: This key is not allowed to execute a given operation.

MissingCurrentIdentity

  • interface: api.errors.identity.MissingCurrentIdentity.is
  • summary: Missing current identity on the transaction

MultiSigHasBalance

  • interface: api.errors.identity.MultiSigHasBalance.is
  • summary: Multisig can not be unlinked from an identity while it still holds POLYX

NotASigner

  • interface: api.errors.identity.NotASigner.is
  • summary: Signer is not a secondary key of the provided identity

NotCddProviderAttestation

  • interface: api.errors.identity.NotCddProviderAttestation.is
  • summary: Attestation was not by a CDD service provider.

NotPrimaryKey

  • interface: api.errors.identity.NotPrimaryKey.is
  • summary: Only the primary key is allowed to revoke an Identity Signatory off-chain authorization.

SecondaryKeysContainPrimaryKey

  • interface: api.errors.identity.SecondaryKeysContainPrimaryKey.is
  • summary: The secondary keys contain the primary key.

TargetHasNoCdd

  • interface: api.errors.identity.TargetHasNoCdd.is
  • summary: The target DID has no valid CDD.

TargetHasNonZeroBalanceAtScopeId

  • interface: api.errors.identity.TargetHasNonZeroBalanceAtScopeId.is
  • summary: Try to delete the IU claim even when the user has non zero balance at given scopeId.

Unauthorized

  • interface: api.errors.identity.Unauthorized.is
  • summary: Signatory is not pre authorized by the identity

UnAuthorizedCddProvider

  • interface: api.errors.identity.UnAuthorizedCddProvider.is
  • summary: Only CDD service providers are allowed.

imOnline

DuplicatedHeartbeat

  • interface: api.errors.imOnline.DuplicatedHeartbeat.is
  • summary: Duplicated heartbeat.

InvalidKey

  • interface: api.errors.imOnline.InvalidKey.is
  • summary: Non existent public key.

multiSig

AlreadyASigner

  • interface: api.errors.multiSig.AlreadyASigner.is
  • summary: Already a signer.

AlreadyVoted

  • interface: api.errors.multiSig.AlreadyVoted.is
  • summary: Already voted.

CddMissing

  • interface: api.errors.multiSig.CddMissing.is
  • summary: The multisig is not attached to a CDD'd identity.

ChangeNotAllowed

  • interface: api.errors.multiSig.ChangeNotAllowed.is
  • summary: Changing multisig parameters not allowed since multisig is a primary key.

DecodingError

  • interface: api.errors.multiSig.DecodingError.is
  • summary: Multisig address.

FailedToChargeFee

  • interface: api.errors.multiSig.FailedToChargeFee.is
  • summary: Couldn't charge fee for the transaction.

FailedToSchedule

  • interface: api.errors.multiSig.FailedToSchedule.is
  • summary: Scheduling of a proposal fails

IdentityNotCreator

  • interface: api.errors.multiSig.IdentityNotCreator.is
  • summary: Identity provided is not the multisig's creator.

MissingCurrentIdentity

  • interface: api.errors.multiSig.MissingCurrentIdentity.is
  • summary: Current DID is missing

MultisigMissingIdentity

  • interface: api.errors.multiSig.MultisigMissingIdentity.is
  • summary: Multisig is not attached to an identity

NonceOverflow

  • interface: api.errors.multiSig.NonceOverflow.is
  • summary: A nonce overflow.

NoSigners

  • interface: api.errors.multiSig.NoSigners.is
  • summary: No signers.

NoSuchMultisig

  • interface: api.errors.multiSig.NoSuchMultisig.is
  • summary: No such multisig.

NotASigner

  • interface: api.errors.multiSig.NotASigner.is
  • summary: Not a signer.

NotEnoughSigners

  • interface: api.errors.multiSig.NotEnoughSigners.is
  • summary: Not enough signers.

NotPrimaryKey

  • interface: api.errors.multiSig.NotPrimaryKey.is
  • summary: The function can only be called by the primary key of the did

ProposalAlreadyExecuted

  • interface: api.errors.multiSig.ProposalAlreadyExecuted.is
  • summary: Proposal was executed earlier

ProposalAlreadyRejected

  • interface: api.errors.multiSig.ProposalAlreadyRejected.is
  • summary: Proposal was rejected earlier

ProposalExpired

  • interface: api.errors.multiSig.ProposalExpired.is
  • summary: Proposal has expired

ProposalMissing

  • interface: api.errors.multiSig.ProposalMissing.is
  • summary: The proposal does not exist.

RequiredSignaturesOutOfBounds

  • interface: api.errors.multiSig.RequiredSignaturesOutOfBounds.is
  • summary: Too few or too many required signatures.

SignerAlreadyLinked

  • interface: api.errors.multiSig.SignerAlreadyLinked.is
  • summary: Signer is an account key that is already associated with a multisig.

TooManySigners

  • interface: api.errors.multiSig.TooManySigners.is
  • summary: More signers than required.

permissions

UnauthorizedCaller

  • interface: api.errors.permissions.UnauthorizedCaller.is
  • summary: The caller is not authorized to call the current extrinsic.

pips

CannotSkipPip

  • interface: api.errors.pips.CannotSkipPip.is
  • summary: When enacting snapshot results, an unskippable PIP was skipped.

IncorrectDeposit

  • interface: api.errors.pips.IncorrectDeposit.is
  • summary: Proposer specifies an incorrect deposit

IncorrectProposalState

  • interface: api.errors.pips.IncorrectProposalState.is
  • summary: Proposal is not in the correct state

InsufficientDeposit

  • interface: api.errors.pips.InsufficientDeposit.is
  • summary: Proposer can't afford to lock minimum deposit

InvalidFutureBlockNumber

  • interface: api.errors.pips.InvalidFutureBlockNumber.is
  • summary: When a block number is less than current block number.

MissingCurrentIdentity

  • interface: api.errors.pips.MissingCurrentIdentity.is
  • summary: Missing current DID

NoSuchProposal

  • interface: api.errors.pips.NoSuchProposal.is
  • summary: The proposal does not exist.

NotACommitteeMember

  • interface: api.errors.pips.NotACommitteeMember.is
  • summary: Not part of governance committee.

NotByCommittee

  • interface: api.errors.pips.NotByCommittee.is
  • summary: The given dispatchable call is not valid for this proposal. The proposal must be by community, but isn't.

NotFromCommunity

  • interface: api.errors.pips.NotFromCommunity.is
  • summary: The given dispatchable call is not valid for this proposal. The proposal must be from the community, but isn't.

NumberOfVotesExceeded

  • interface: api.errors.pips.NumberOfVotesExceeded.is
  • summary: When number of votes overflows.

ProposalNotInScheduledState

  • interface: api.errors.pips.ProposalNotInScheduledState.is
  • summary: A proposal that is not in a scheduled state cannot be executed.

RescheduleNotByReleaseCoordinator

  • interface: api.errors.pips.RescheduleNotByReleaseCoordinator.is
  • summary: Only the GC release coordinator is allowed to reschedule proposal execution.

ScheduledProposalDoesntExist

  • interface: api.errors.pips.ScheduledProposalDoesntExist.is
  • summary: Execution of a scheduled proposal failed because it is missing.

SnapshotIdMismatch

  • interface: api.errors.pips.SnapshotIdMismatch.is
  • summary: Tried to enact result for PIP with id different from that at the position in the queue.

SnapshotResultTooLarge

  • interface: api.errors.pips.SnapshotResultTooLarge.is
  • summary: Tried to enact results for the snapshot queue overflowing its length.

StakeAmountOfVotesExceeded

  • interface: api.errors.pips.StakeAmountOfVotesExceeded.is
  • summary: When stake amount of a vote overflows.

TooManyActivePips

  • interface: api.errors.pips.TooManyActivePips.is
  • summary: The current number of active (pending | scheduled) PIPs exceed the maximum and the proposal is not by a committee.

polymeshCommittee

DuplicateProposal

  • interface: api.errors.polymeshCommittee.DuplicateProposal.is
  • summary: Duplicate proposal.

DuplicateVote

  • interface: api.errors.polymeshCommittee.DuplicateVote.is
  • summary: Duplicate votes are not allowed.

FirstVoteReject

  • interface: api.errors.polymeshCommittee.FirstVoteReject.is
  • summary: First vote on a proposal creates it, so it must be an approval. All proposals are motions to execute something as "GC majority". To reject e.g., a PIP, a motion to reject should be approved.

InvalidProportion

  • interface: api.errors.polymeshCommittee.InvalidProportion.is
  • summary: Proportion must be a rational number.

MismatchedVotingIndex

  • interface: api.errors.polymeshCommittee.MismatchedVotingIndex.is
  • summary: Mismatched voting index.

NoSuchProposal

  • interface: api.errors.polymeshCommittee.NoSuchProposal.is
  • summary: No such proposal.

NotAMember

  • interface: api.errors.polymeshCommittee.NotAMember.is
  • summary: A DID isn't part of the committee. The DID may either be a caller or some other context.

ProposalExpired

  • interface: api.errors.polymeshCommittee.ProposalExpired.is
  • summary: Proposal exists, but it has expired.

ProposalsLimitReached

  • interface: api.errors.polymeshCommittee.ProposalsLimitReached.is
  • summary: Maximum number of proposals has been reached.

portfolio

DestinationIsSamePortfolio

  • interface: api.errors.portfolio.DestinationIsSamePortfolio.is
  • summary: The source and destination portfolios should be different.

DifferentIdentityPortfolios

  • interface: api.errors.portfolio.DifferentIdentityPortfolios.is
  • summary: The portfolios belong to different identities

InsufficientPortfolioBalance

  • interface: api.errors.portfolio.InsufficientPortfolioBalance.is
  • summary: Insufficient balance for a transaction.

InsufficientTokensLocked

  • interface: api.errors.portfolio.InsufficientTokensLocked.is
  • summary: Can not unlock more tokens than what are locked

PortfolioDoesNotExist

  • interface: api.errors.portfolio.PortfolioDoesNotExist.is
  • summary: The portfolio doesn't exist.

PortfolioNameAlreadyInUse

  • interface: api.errors.portfolio.PortfolioNameAlreadyInUse.is
  • summary: The portfolio couldn't be renamed because the chosen name is already in use.

PortfolioNotEmpty

  • interface: api.errors.portfolio.PortfolioNotEmpty.is
  • summary: The portfolio still has some asset balance left

SecondaryKeyNotAuthorizedForPortfolio

  • interface: api.errors.portfolio.SecondaryKeyNotAuthorizedForPortfolio.is
  • summary: The secondary key is not authorized to access the portfolio(s).

UnauthorizedCustodian

  • interface: api.errors.portfolio.UnauthorizedCustodian.is
  • summary: The porfolio's custody is with someone other than the caller.

protocolFee

InsufficientAccountBalance

  • interface: api.errors.protocolFee.InsufficientAccountBalance.is
  • summary: Insufficient account balance to pay the fee.

InsufficientSubsidyBalance

  • interface: api.errors.protocolFee.InsufficientSubsidyBalance.is
  • summary: Insufficient subsidy balance to pay the fee.

UnHandledImbalances

  • interface: api.errors.protocolFee.UnHandledImbalances.is
  • summary: Not able to handled the imbalances

relayer

NoPayingKey

  • interface: api.errors.relayer.NoPayingKey.is
  • summary: The user_key doesn't have a paying_key.

NotAuthorizedForPayingKey

  • interface: api.errors.relayer.NotAuthorizedForPayingKey.is
  • summary: The signer is not authorized for paying_key.

NotAuthorizedForUserKey

  • interface: api.errors.relayer.NotAuthorizedForUserKey.is
  • summary: The signer is not authorized for user_key.

NotPayingKey

  • interface: api.errors.relayer.NotPayingKey.is
  • summary: The user_key has a different paying_key.

Overflow

  • interface: api.errors.relayer.Overflow.is
  • summary: The remaining POLYX for user_key overflowed.

PayingKeyCddMissing

  • interface: api.errors.relayer.PayingKeyCddMissing.is
  • summary: The user_key is not attached to a CDD'd identity.

UserKeyCddMissing

  • interface: api.errors.relayer.UserKeyCddMissing.is
  • summary: The user_key is not attached to a CDD'd identity.

rewards

InvalidSignature

  • interface: api.errors.rewards.InvalidSignature.is
  • summary: Provided signature was invalid.

ItnRewardAlreadyClaimed

  • interface: api.errors.rewards.ItnRewardAlreadyClaimed.is
  • summary: Itn reward was already claimed.

UnableToCovertBalance

  • interface: api.errors.rewards.UnableToCovertBalance.is
  • summary: Balance can not be converted to a primitive.

UnknownItnAddress

  • interface: api.errors.rewards.UnknownItnAddress.is
  • summary: Address was not found in the list of Itn addresses.

scheduler

FailedToSchedule

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

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.

settlement

FailedToLockTokens

  • interface: api.errors.settlement.FailedToLockTokens.is
  • summary: While affirming the transfer, system failed to lock the assets involved.

FailedToSchedule

  • interface: api.errors.settlement.FailedToSchedule.is
  • summary: Scheduling of an instruction fails.

InstructionDatesInvalid

  • interface: api.errors.settlement.InstructionDatesInvalid.is
  • summary: Instruction has invalid dates

InstructionFailed

  • interface: api.errors.settlement.InstructionFailed.is
  • summary: Instruction failed to execute.

InstructionHasTooManyLegs

  • interface: api.errors.settlement.InstructionHasTooManyLegs.is
  • summary: Maximum legs that can be in a single instruction.

InstructionNotAffirmed

  • interface: api.errors.settlement.InstructionNotAffirmed.is
  • summary: Instruction has not been affirmed.

InstructionNotFailed

  • interface: api.errors.settlement.InstructionNotFailed.is
  • summary: Provided instruction is not failing execution.

InstructionNotPending

  • interface: api.errors.settlement.InstructionNotPending.is
  • summary: Provided instruction is not pending execution.

InstructionSettleBlockPassed

  • interface: api.errors.settlement.InstructionSettleBlockPassed.is
  • summary: Instruction's target settle block reached.

InvalidSignature

  • interface: api.errors.settlement.InvalidSignature.is
  • summary: Offchain signature is invalid.

InvalidVenue

  • interface: api.errors.settlement.InvalidVenue.is
  • summary: Venue does not exist.

LegCountTooSmall

  • interface: api.errors.settlement.LegCountTooSmall.is
  • summary: Legs count should matches with the total number of legs in which given portfolio act as from_portfolio.

LegNotPending

  • interface: api.errors.settlement.LegNotPending.is
  • summary: Provided leg is not pending execution.

NoPendingAffirm

  • interface: api.errors.settlement.NoPendingAffirm.is
  • summary: No pending affirmation for the provided instruction.

NoPortfolioProvided

  • interface: api.errors.settlement.NoPortfolioProvided.is
  • summary: Portfolio based actions require at least one portfolio to be provided as input.

PortfolioMismatch

  • interface: api.errors.settlement.PortfolioMismatch.is
  • summary: Portfolio in receipt does not match with portfolios provided by the user.

ReceiptAlreadyClaimed

  • interface: api.errors.settlement.ReceiptAlreadyClaimed.is
  • summary: Receipt already used.

ReceiptNotClaimed

  • interface: api.errors.settlement.ReceiptNotClaimed.is
  • summary: Receipt not used yet.

SameSenderReceiver

  • interface: api.errors.settlement.SameSenderReceiver.is
  • summary: Sender and receiver are the same.

SettleOnPastBlock

  • interface: api.errors.settlement.SettleOnPastBlock.is
  • summary: The provided settlement block number is in the past and cannot be used by the scheduler.

Unauthorized

  • interface: api.errors.settlement.Unauthorized.is
  • summary: Sender does not have required permissions.

UnauthorizedSigner

  • interface: api.errors.settlement.UnauthorizedSigner.is
  • summary: Signer is not authorized by the venue.

UnauthorizedVenue

  • interface: api.errors.settlement.UnauthorizedVenue.is
  • summary: Venue does not have required permissions.

UnexpectedAffirmationStatus

  • interface: api.errors.settlement.UnexpectedAffirmationStatus.is
  • summary: The current instruction affirmation status does not support the requested action.

UnknownInstruction

  • interface: api.errors.settlement.UnknownInstruction.is
  • summary: Instruction status is unknown

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.

AlreadyExists

  • interface: api.errors.staking.AlreadyExists.is
  • summary: Permissioned validator already exists.

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.

BondTooSmall

  • interface: api.errors.staking.BondTooSmall.is
  • summary: When the amount to be bonded is less than MinimumBond

CallNotAllowed

  • interface: api.errors.staking.CallNotAllowed.is
  • summary: The call is not allowed at the given time due to restrictions of election period.

EmptyTargets

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

FundedTarget

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

HitIntendedValidatorCount

  • interface: api.errors.staking.HitIntendedValidatorCount.is
  • summary: Running validator count hit the intended count.

IncorrectSlashingSpans

  • interface: api.errors.staking.IncorrectSlashingSpans.is
  • summary: Incorrect number of slashing spans provided.

InsufficientValue

  • interface: api.errors.staking.InsufficientValue.is
  • summary: Can not bond with value less than minimum balance.

IntendedCountIsExceedingConsensusLimit

  • interface: api.errors.staking.IntendedCountIsExceedingConsensusLimit.is
  • summary: When the intended number of validators to run is >= 2/3 of validator_count.

InvalidEraToReward

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

InvalidSlashIndex

  • interface: api.errors.staking.InvalidSlashIndex.is
  • summary: Slash record index out of bounds.

InvalidValidatorCommission

  • interface: api.errors.staking.InvalidValidatorCommission.is
  • summary: Validator prefs are not in valid range.

InvalidValidatorIdentity

  • interface: api.errors.staking.InvalidValidatorIdentity.is
  • summary: Given potential validator identity is invalid.

NoChange

  • interface: api.errors.staking.NoChange.is
  • summary: Updates with same value.

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.

NotExists

  • interface: api.errors.staking.NotExists.is
  • summary: Permissioned validator not exists.

NotSortedAndUnique

  • interface: api.errors.staking.NotSortedAndUnique.is
  • summary: Items are not sorted and unique.

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.

OffchainElectionBogusCompact

  • interface: api.errors.staking.OffchainElectionBogusCompact.is
  • summary: Error while building the assignment type from the compact. This can happen if an index is invalid, or if the weights overflow.

OffchainElectionBogusEdge

  • interface: api.errors.staking.OffchainElectionBogusEdge.is
  • summary: The submitted result has unknown edges that are not among the presented winners.

OffchainElectionBogusElectionSize

  • interface: api.errors.staking.OffchainElectionBogusElectionSize.is
  • summary: The election size is invalid.

OffchainElectionBogusNomination

  • interface: api.errors.staking.OffchainElectionBogusNomination.is
  • summary: One of the submitted nominators has an edge to which they have not voted on chain.

OffchainElectionBogusNominator

  • interface: api.errors.staking.OffchainElectionBogusNominator.is
  • summary: One of the submitted nominators is not an active nominator on chain.

OffchainElectionBogusScore

  • interface: api.errors.staking.OffchainElectionBogusScore.is
  • summary: The claimed score does not match with the one computed from the data.

OffchainElectionBogusSelfVote

  • interface: api.errors.staking.OffchainElectionBogusSelfVote.is
  • summary: A self vote must only be originated from a validator to ONLY themselves.

OffchainElectionBogusWinner

  • interface: api.errors.staking.OffchainElectionBogusWinner.is
  • summary: One of the submitted winners is not an active candidate on chain (index is out of range in snapshot).

OffchainElectionBogusWinnerCount

  • interface: api.errors.staking.OffchainElectionBogusWinnerCount.is
  • summary: Incorrect number of winners were presented.

OffchainElectionEarlySubmission

  • interface: api.errors.staking.OffchainElectionEarlySubmission.is
  • summary: The submitted result is received out of the open window.

OffchainElectionSlashedNomination

  • interface: api.errors.staking.OffchainElectionSlashedNomination.is
  • summary: One of the submitted nominators has an edge which is submitted before the last non-zero slash of the target.

OffchainElectionWeakSubmission

  • interface: api.errors.staking.OffchainElectionWeakSubmission.is
  • summary: The submitted result is not as good as the one stored on chain.

SnapshotUnavailable

  • interface: api.errors.staking.SnapshotUnavailable.is
  • summary: The snapshot data of the current window is missing.

StashIdentityDoesNotExist

  • interface: api.errors.staking.StashIdentityDoesNotExist.is
  • summary: Validator or nominator stash identity does not exist.

StashIdentityNotCDDed

  • interface: api.errors.staking.StashIdentityNotCDDed.is
  • summary: Nominator stash was not CDDed.

StashIdentityNotPermissioned

  • interface: api.errors.staking.StashIdentityNotPermissioned.is
  • summary: Validator stash identity was not permissioned.

TooManyTargets

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

statistics

DuplicateTransferManager

  • interface: api.errors.statistics.DuplicateTransferManager.is
  • summary: The transfer manager already exists

InvalidTransfer

  • interface: api.errors.statistics.InvalidTransfer.is
  • summary: Transfer not allowed

TransferManagerMissing

  • interface: api.errors.statistics.TransferManagerMissing.is
  • summary: Transfer manager is not enabled

TransferManagersLimitReached

  • interface: api.errors.statistics.TransferManagersLimitReached.is
  • summary: The limit of transfer managers allowed for an asset has been reached

sto

FundraiserClosed

  • interface: api.errors.sto.FundraiserClosed.is
  • summary: Fundraiser has been closed/stopped already.

FundraiserExpired

  • interface: api.errors.sto.FundraiserExpired.is
  • summary: Interacting with a fundraiser past the end Moment.

FundraiserNotFound

  • interface: api.errors.sto.FundraiserNotFound.is
  • summary: Fundraiser not found.

FundraiserNotLive

  • interface: api.errors.sto.FundraiserNotLive.is
  • summary: Fundraiser is either frozen or stopped.

InsufficientTokensRemaining

  • interface: api.errors.sto.InsufficientTokensRemaining.is
  • summary: Not enough tokens left for sale.

InvalidOfferingWindow

  • interface: api.errors.sto.InvalidOfferingWindow.is
  • summary: Window (start time, end time) has invalid parameters, e.g start time is after end time.

InvalidPriceTiers

  • interface: api.errors.sto.InvalidPriceTiers.is
  • summary: An individual price tier was invalid or a set of price tiers was invalid.

InvalidVenue

  • interface: api.errors.sto.InvalidVenue.is
  • summary: An invalid venue provided.

InvestmentAmountTooLow

  • interface: api.errors.sto.InvestmentAmountTooLow.is
  • summary: Investment amount is lower than minimum investment amount.

MaxPriceExceeded

  • interface: api.errors.sto.MaxPriceExceeded.is
  • summary: Price of the investment exceeded the max price.

Overflow

  • interface: api.errors.sto.Overflow.is
  • summary: An arithmetic operation overflowed.

Unauthorized

  • interface: api.errors.sto.Unauthorized.is
  • summary: Sender does not have required permissions.

sudo

RequireSudo

  • interface: api.errors.sudo.RequireSudo.is
  • summary: Sender must be the Sudo account

system

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.

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.

SpecVersionNeedsToIncrease

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

technicalCommittee

DuplicateProposal

  • interface: api.errors.technicalCommittee.DuplicateProposal.is
  • summary: Duplicate proposal.

DuplicateVote

  • interface: api.errors.technicalCommittee.DuplicateVote.is
  • summary: Duplicate votes are not allowed.

FirstVoteReject

  • interface: api.errors.technicalCommittee.FirstVoteReject.is
  • summary: First vote on a proposal creates it, so it must be an approval. All proposals are motions to execute something as "GC majority". To reject e.g., a PIP, a motion to reject should be approved.

InvalidProportion

  • interface: api.errors.technicalCommittee.InvalidProportion.is
  • summary: Proportion must be a rational number.

MismatchedVotingIndex

  • interface: api.errors.technicalCommittee.MismatchedVotingIndex.is
  • summary: Mismatched voting index.

NoSuchProposal

  • interface: api.errors.technicalCommittee.NoSuchProposal.is
  • summary: No such proposal.

NotAMember

  • interface: api.errors.technicalCommittee.NotAMember.is
  • summary: A DID isn't part of the committee. The DID may either be a caller or some other context.

ProposalExpired

  • interface: api.errors.technicalCommittee.ProposalExpired.is
  • summary: Proposal exists, but it has expired.

ProposalsLimitReached

  • interface: api.errors.technicalCommittee.ProposalsLimitReached.is
  • summary: Maximum number of proposals has been reached.

technicalCommitteeMembership

ActiveMembersLimitExceeded

  • interface: api.errors.technicalCommitteeMembership.ActiveMembersLimitExceeded.is
  • summary: The limit for the number of concurrent active members for this group has been exceeded.

ActiveMembersLimitOverflow

  • interface: api.errors.technicalCommitteeMembership.ActiveMembersLimitOverflow.is
  • summary: Active member limit was greater than maximum committee members limit.

DuplicateMember

  • interface: api.errors.technicalCommitteeMembership.DuplicateMember.is
  • summary: Group member was added already.

LastMemberCannotQuit

  • interface: api.errors.technicalCommitteeMembership.LastMemberCannotQuit.is
  • summary: Last member of the committee can not quit.

MissingCurrentIdentity

  • interface: api.errors.technicalCommitteeMembership.MissingCurrentIdentity.is
  • summary: Missing current DID

NoSuchMember

  • interface: api.errors.technicalCommitteeMembership.NoSuchMember.is
  • summary: Can't remove a member that doesn't exist.

OnlyPrimaryKeyAllowed

  • interface: api.errors.technicalCommitteeMembership.OnlyPrimaryKeyAllowed.is
  • summary: Only primary key of the identity is allowed.

treasury

InsufficientBalance

  • interface: api.errors.treasury.InsufficientBalance.is
  • summary: Proposer's balance is too low.

upgradeCommittee

DuplicateProposal

  • interface: api.errors.upgradeCommittee.DuplicateProposal.is
  • summary: Duplicate proposal.

DuplicateVote

  • interface: api.errors.upgradeCommittee.DuplicateVote.is
  • summary: Duplicate votes are not allowed.

FirstVoteReject

  • interface: api.errors.upgradeCommittee.FirstVoteReject.is
  • summary: First vote on a proposal creates it, so it must be an approval. All proposals are motions to execute something as "GC majority". To reject e.g., a PIP, a motion to reject should be approved.

InvalidProportion

  • interface: api.errors.upgradeCommittee.InvalidProportion.is
  • summary: Proportion must be a rational number.

MismatchedVotingIndex

  • interface: api.errors.upgradeCommittee.MismatchedVotingIndex.is
  • summary: Mismatched voting index.

NoSuchProposal

  • interface: api.errors.upgradeCommittee.NoSuchProposal.is
  • summary: No such proposal.

NotAMember

  • interface: api.errors.upgradeCommittee.NotAMember.is
  • summary: A DID isn't part of the committee. The DID may either be a caller or some other context.

ProposalExpired

  • interface: api.errors.upgradeCommittee.ProposalExpired.is
  • summary: Proposal exists, but it has expired.

ProposalsLimitReached

  • interface: api.errors.upgradeCommittee.ProposalsLimitReached.is
  • summary: Maximum number of proposals has been reached.

upgradeCommitteeMembership

ActiveMembersLimitExceeded

  • interface: api.errors.upgradeCommitteeMembership.ActiveMembersLimitExceeded.is
  • summary: The limit for the number of concurrent active members for this group has been exceeded.

ActiveMembersLimitOverflow

  • interface: api.errors.upgradeCommitteeMembership.ActiveMembersLimitOverflow.is
  • summary: Active member limit was greater than maximum committee members limit.

DuplicateMember

  • interface: api.errors.upgradeCommitteeMembership.DuplicateMember.is
  • summary: Group member was added already.

LastMemberCannotQuit

  • interface: api.errors.upgradeCommitteeMembership.LastMemberCannotQuit.is
  • summary: Last member of the committee can not quit.

MissingCurrentIdentity

  • interface: api.errors.upgradeCommitteeMembership.MissingCurrentIdentity.is
  • summary: Missing current DID

NoSuchMember

  • interface: api.errors.upgradeCommitteeMembership.NoSuchMember.is
  • summary: Can't remove a member that doesn't exist.

OnlyPrimaryKeyAllowed

  • interface: api.errors.upgradeCommitteeMembership.OnlyPrimaryKeyAllowed.is
  • summary: Only primary key of the identity is allowed.

utility

InvalidNonce

  • interface: api.errors.utility.InvalidNonce.is
  • summary: Provided nonce was invalid If the provided nonce < current nonce, the call was already executed If the provided nonce > current nonce, the call(s) before the current failed to execute

InvalidSignature

  • interface: api.errors.utility.InvalidSignature.is
  • summary: Offchain signature is invalid

TargetCddMissing

  • interface: api.errors.utility.TargetCddMissing.is
  • summary: Target does not have a valid CDD