git.delta.rocks / unique-network / refs/commits / 56c4087ab1ae

difftreelog

source

tests/src/interfaces/augment-api-errors.ts42.7 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/errors';78import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';910export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;1112declare module '@polkadot/api-base/types/errors' {13  interface AugmentedErrors<ApiType extends ApiTypes> {14    appPromotion: {15      /**16       * Error due to action requiring admin to be set.17       **/18      AdminNotSet: AugmentedError<ApiType>;19      /**20       * Errors caused by incorrect state of a staker in context of the pallet.21       **/22      InconsistencyState: AugmentedError<ApiType>;23      /**24       * Errors caused by insufficient staked balance.25       **/26      InsufficientStakedBalance: AugmentedError<ApiType>;27      /**28       * No permission to perform an action.29       **/30      NoPermission: AugmentedError<ApiType>;31      /**32       * Insufficient funds to perform an action.33       **/34      NotSufficientFunds: AugmentedError<ApiType>;35      /**36       * Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.37       **/38      PendingForBlockOverflow: AugmentedError<ApiType>;39      /**40       * The error is due to the fact that the collection/contract must already be sponsored in order to perform the action.41       **/42      SponsorNotSet: AugmentedError<ApiType>;43      /**44       * Generic error45       **/46      [key: string]: AugmentedError<ApiType>;47    };48    balances: {49      /**50       * Beneficiary account must pre-exist.51       **/52      DeadAccount: AugmentedError<ApiType>;53      /**54       * Value too low to create account due to existential deposit.55       **/56      ExistentialDeposit: AugmentedError<ApiType>;57      /**58       * A vesting schedule already exists for this account.59       **/60      ExistingVestingSchedule: AugmentedError<ApiType>;61      /**62       * Transfer/payment would kill account.63       **/64      Expendability: AugmentedError<ApiType>;65      /**66       * Balance too low to send value.67       **/68      InsufficientBalance: AugmentedError<ApiType>;69      /**70       * Account liquidity restrictions prevent withdrawal.71       **/72      LiquidityRestrictions: AugmentedError<ApiType>;73      /**74       * Number of freezes exceed `MaxFreezes`.75       **/76      TooManyFreezes: AugmentedError<ApiType>;77      /**78       * Number of holds exceed `MaxHolds`.79       **/80      TooManyHolds: AugmentedError<ApiType>;81      /**82       * Number of named reserves exceed `MaxReserves`.83       **/84      TooManyReserves: AugmentedError<ApiType>;85      /**86       * Vesting balance too high to send value.87       **/88      VestingBalance: AugmentedError<ApiType>;89      /**90       * Generic error91       **/92      [key: string]: AugmentedError<ApiType>;93    };94    collatorSelection: {95      /**96       * User is already a candidate97       **/98      AlreadyCandidate: AugmentedError<ApiType>;99      /**100       * User already holds license to collate101       **/102      AlreadyHoldingLicense: AugmentedError<ApiType>;103      /**104       * User is already an Invulnerable105       **/106      AlreadyInvulnerable: AugmentedError<ApiType>;107      /**108       * Account has no associated validator ID109       **/110      NoAssociatedValidatorId: AugmentedError<ApiType>;111      /**112       * User does not hold a license to collate113       **/114      NoLicense: AugmentedError<ApiType>;115      /**116       * User is not a candidate117       **/118      NotCandidate: AugmentedError<ApiType>;119      /**120       * User is not an Invulnerable121       **/122      NotInvulnerable: AugmentedError<ApiType>;123      /**124       * Permission issue125       **/126      Permission: AugmentedError<ApiType>;127      /**128       * Too few invulnerables129       **/130      TooFewInvulnerables: AugmentedError<ApiType>;131      /**132       * Too many candidates133       **/134      TooManyCandidates: AugmentedError<ApiType>;135      /**136       * Too many invulnerables137       **/138      TooManyInvulnerables: AugmentedError<ApiType>;139      /**140       * Unknown error141       **/142      Unknown: AugmentedError<ApiType>;143      /**144       * Validator ID is not yet registered145       **/146      ValidatorNotRegistered: AugmentedError<ApiType>;147      /**148       * Generic error149       **/150      [key: string]: AugmentedError<ApiType>;151    };152    common: {153      /**154       * Account token limit exceeded per collection155       **/156      AccountTokenLimitExceeded: AugmentedError<ApiType>;157      /**158       * Only spending from eth mirror could be approved159       **/160      AddressIsNotEthMirror: AugmentedError<ApiType>;161      /**162       * Can't transfer tokens to ethereum zero address163       **/164      AddressIsZero: AugmentedError<ApiType>;165      /**166       * Address is not in allow list.167       **/168      AddressNotInAllowlist: AugmentedError<ApiType>;169      /**170       * Requested value is more than the approved171       **/172      ApprovedValueTooLow: AugmentedError<ApiType>;173      /**174       * Tried to approve more than owned175       **/176      CantApproveMoreThanOwned: AugmentedError<ApiType>;177      /**178       * Destroying only empty collections is allowed179       **/180      CantDestroyNotEmptyCollection: AugmentedError<ApiType>;181      /**182       * Exceeded max admin count183       **/184      CollectionAdminCountExceeded: AugmentedError<ApiType>;185      /**186       * Collection description can not be longer than 255 char.187       **/188      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;189      /**190       * Tried to store more data than allowed in collection field191       **/192      CollectionFieldSizeExceeded: AugmentedError<ApiType>;193      /**194       * Tried to access an external collection with an internal API195       **/196      CollectionIsExternal: AugmentedError<ApiType>;197      /**198       * Tried to access an internal collection with an external API199       **/200      CollectionIsInternal: AugmentedError<ApiType>;201      /**202       * Collection limit bounds per collection exceeded203       **/204      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;205      /**206       * Collection name can not be longer than 63 char.207       **/208      CollectionNameLimitExceeded: AugmentedError<ApiType>;209      /**210       * This collection does not exist.211       **/212      CollectionNotFound: AugmentedError<ApiType>;213      /**214       * Collection token limit exceeded215       **/216      CollectionTokenLimitExceeded: AugmentedError<ApiType>;217      /**218       * Token prefix can not be longer than 15 char.219       **/220      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;221      /**222       * This address is not set as sponsor, use setCollectionSponsor first.223       **/224      ConfirmSponsorshipFail: AugmentedError<ApiType>;225      /**226       * Empty property keys are forbidden227       **/228      EmptyPropertyKey: AugmentedError<ApiType>;229      /**230       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed231       **/232      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;233      /**234       * Metadata flag frozen235       **/236      MetadataFlagFrozen: AugmentedError<ApiType>;237      /**238       * Sender parameter and item owner must be equal.239       **/240      MustBeTokenOwner: AugmentedError<ApiType>;241      /**242       * No permission to perform action243       **/244      NoPermission: AugmentedError<ApiType>;245      /**246       * Tried to store more property data than allowed247       **/248      NoSpaceForProperty: AugmentedError<ApiType>;249      /**250       * Insufficient funds to perform an action251       **/252      NotSufficientFounds: AugmentedError<ApiType>;253      /**254       * Tried to enable permissions which are only permitted to be disabled255       **/256      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;257      /**258       * Property key is too long259       **/260      PropertyKeyIsTooLong: AugmentedError<ApiType>;261      /**262       * Tried to store more property keys than allowed263       **/264      PropertyLimitReached: AugmentedError<ApiType>;265      /**266       * Collection is not in mint mode.267       **/268      PublicMintingNotAllowed: AugmentedError<ApiType>;269      /**270       * Only tokens from specific collections may nest tokens under this one271       **/272      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;273      /**274       * Item does not exist275       **/276      TokenNotFound: AugmentedError<ApiType>;277      /**278       * Item is balance not enough279       **/280      TokenValueTooLow: AugmentedError<ApiType>;281      /**282       * Total collections bound exceeded.283       **/284      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;285      /**286       * Collection settings not allowing items transferring287       **/288      TransferNotAllowed: AugmentedError<ApiType>;289      /**290       * The operation is not supported291       **/292      UnsupportedOperation: AugmentedError<ApiType>;293      /**294       * User does not satisfy the nesting rule295       **/296      UserIsNotAllowedToNest: AugmentedError<ApiType>;297      /**298       * The user is not an administrator.299       **/300      UserIsNotCollectionAdmin: AugmentedError<ApiType>;301      /**302       * Generic error303       **/304      [key: string]: AugmentedError<ApiType>;305    };306    configuration: {307      InconsistentConfiguration: AugmentedError<ApiType>;308      /**309       * Generic error310       **/311      [key: string]: AugmentedError<ApiType>;312    };313    council: {314      /**315       * Members are already initialized!316       **/317      AlreadyInitialized: AugmentedError<ApiType>;318      /**319       * Duplicate proposals not allowed320       **/321      DuplicateProposal: AugmentedError<ApiType>;322      /**323       * Duplicate vote ignored324       **/325      DuplicateVote: AugmentedError<ApiType>;326      /**327       * Account is not a member328       **/329      NotMember: AugmentedError<ApiType>;330      /**331       * Proposal must exist332       **/333      ProposalMissing: AugmentedError<ApiType>;334      /**335       * The close call was made too early, before the end of the voting.336       **/337      TooEarly: AugmentedError<ApiType>;338      /**339       * There can only be a maximum of `MaxProposals` active proposals.340       **/341      TooManyProposals: AugmentedError<ApiType>;342      /**343       * Mismatched index344       **/345      WrongIndex: AugmentedError<ApiType>;346      /**347       * The given length bound for the proposal was too low.348       **/349      WrongProposalLength: AugmentedError<ApiType>;350      /**351       * The given weight bound for the proposal was too low.352       **/353      WrongProposalWeight: AugmentedError<ApiType>;354      /**355       * Generic error356       **/357      [key: string]: AugmentedError<ApiType>;358    };359    councilMembership: {360      /**361       * Already a member.362       **/363      AlreadyMember: AugmentedError<ApiType>;364      /**365       * Not a member.366       **/367      NotMember: AugmentedError<ApiType>;368      /**369       * Too many members.370       **/371      TooManyMembers: AugmentedError<ApiType>;372      /**373       * Generic error374       **/375      [key: string]: AugmentedError<ApiType>;376    };377    cumulusXcm: {378      /**379       * Generic error380       **/381      [key: string]: AugmentedError<ApiType>;382    };383    democracy: {384      /**385       * Cannot cancel the same proposal twice386       **/387      AlreadyCanceled: AugmentedError<ApiType>;388      /**389       * The account is already delegating.390       **/391      AlreadyDelegating: AugmentedError<ApiType>;392      /**393       * Identity may not veto a proposal twice394       **/395      AlreadyVetoed: AugmentedError<ApiType>;396      /**397       * Proposal already made398       **/399      DuplicateProposal: AugmentedError<ApiType>;400      /**401       * The instant referendum origin is currently disallowed.402       **/403      InstantNotAllowed: AugmentedError<ApiType>;404      /**405       * Too high a balance was provided that the account cannot afford.406       **/407      InsufficientFunds: AugmentedError<ApiType>;408      /**409       * Invalid hash410       **/411      InvalidHash: AugmentedError<ApiType>;412      /**413       * Maximum number of votes reached.414       **/415      MaxVotesReached: AugmentedError<ApiType>;416      /**417       * No proposals waiting418       **/419      NoneWaiting: AugmentedError<ApiType>;420      /**421       * Delegation to oneself makes no sense.422       **/423      Nonsense: AugmentedError<ApiType>;424      /**425       * The actor has no permission to conduct the action.426       **/427      NoPermission: AugmentedError<ApiType>;428      /**429       * No external proposal430       **/431      NoProposal: AugmentedError<ApiType>;432      /**433       * The account is not currently delegating.434       **/435      NotDelegating: AugmentedError<ApiType>;436      /**437       * Next external proposal not simple majority438       **/439      NotSimpleMajority: AugmentedError<ApiType>;440      /**441       * The given account did not vote on the referendum.442       **/443      NotVoter: AugmentedError<ApiType>;444      /**445       * The preimage does not exist.446       **/447      PreimageNotExist: AugmentedError<ApiType>;448      /**449       * Proposal still blacklisted450       **/451      ProposalBlacklisted: AugmentedError<ApiType>;452      /**453       * Proposal does not exist454       **/455      ProposalMissing: AugmentedError<ApiType>;456      /**457       * Vote given for invalid referendum458       **/459      ReferendumInvalid: AugmentedError<ApiType>;460      /**461       * Maximum number of items reached.462       **/463      TooMany: AugmentedError<ApiType>;464      /**465       * Value too low466       **/467      ValueLow: AugmentedError<ApiType>;468      /**469       * The account currently has votes attached to it and the operation cannot succeed until470       * these are removed, either through `unvote` or `reap_vote`.471       **/472      VotesExist: AugmentedError<ApiType>;473      /**474       * Voting period too low475       **/476      VotingPeriodLow: AugmentedError<ApiType>;477      /**478       * Invalid upper bound.479       **/480      WrongUpperBound: AugmentedError<ApiType>;481      /**482       * Generic error483       **/484      [key: string]: AugmentedError<ApiType>;485    };486    dmpQueue: {487      /**488       * The amount of weight given is possibly not enough for executing the message.489       **/490      OverLimit: AugmentedError<ApiType>;491      /**492       * The message index given is unknown.493       **/494      Unknown: AugmentedError<ApiType>;495      /**496       * Generic error497       **/498      [key: string]: AugmentedError<ApiType>;499    };500    ethereum: {501      /**502       * Signature is invalid.503       **/504      InvalidSignature: AugmentedError<ApiType>;505      /**506       * Pre-log is present, therefore transact is not allowed.507       **/508      PreLogExists: AugmentedError<ApiType>;509      /**510       * Generic error511       **/512      [key: string]: AugmentedError<ApiType>;513    };514    evm: {515      /**516       * Not enough balance to perform action517       **/518      BalanceLow: AugmentedError<ApiType>;519      /**520       * Calculating total fee overflowed521       **/522      FeeOverflow: AugmentedError<ApiType>;523      /**524       * Gas limit is too high.525       **/526      GasLimitTooHigh: AugmentedError<ApiType>;527      /**528       * Gas limit is too low.529       **/530      GasLimitTooLow: AugmentedError<ApiType>;531      /**532       * Gas price is too low.533       **/534      GasPriceTooLow: AugmentedError<ApiType>;535      /**536       * Nonce is invalid537       **/538      InvalidNonce: AugmentedError<ApiType>;539      /**540       * Calculating total payment overflowed541       **/542      PaymentOverflow: AugmentedError<ApiType>;543      /**544       * EVM reentrancy545       **/546      Reentrancy: AugmentedError<ApiType>;547      /**548       * EIP-3607,549       **/550      TransactionMustComeFromEOA: AugmentedError<ApiType>;551      /**552       * Undefined error.553       **/554      Undefined: AugmentedError<ApiType>;555      /**556       * Withdraw fee failed557       **/558      WithdrawFailed: AugmentedError<ApiType>;559      /**560       * Generic error561       **/562      [key: string]: AugmentedError<ApiType>;563    };564    evmCoderSubstrate: {565      OutOfFund: AugmentedError<ApiType>;566      OutOfGas: AugmentedError<ApiType>;567      /**568       * Generic error569       **/570      [key: string]: AugmentedError<ApiType>;571    };572    evmContractHelpers: {573      /**574       * No pending sponsor for contract.575       **/576      NoPendingSponsor: AugmentedError<ApiType>;577      /**578       * This method is only executable by contract owner579       **/580      NoPermission: AugmentedError<ApiType>;581      /**582       * Number of methods that sponsored limit is defined for exceeds maximum.583       **/584      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;585      /**586       * Generic error587       **/588      [key: string]: AugmentedError<ApiType>;589    };590    evmMigration: {591      /**592       * Migration of this account is not yet started, or already finished.593       **/594      AccountIsNotMigrating: AugmentedError<ApiType>;595      /**596       * Can only migrate to empty address.597       **/598      AccountNotEmpty: AugmentedError<ApiType>;599      /**600       * Failed to decode event bytes601       **/602      BadEvent: AugmentedError<ApiType>;603      /**604       * Generic error605       **/606      [key: string]: AugmentedError<ApiType>;607    };608    fellowshipCollective: {609      /**610       * Account is already a member.611       **/612      AlreadyMember: AugmentedError<ApiType>;613      /**614       * Unexpected error in state.615       **/616      Corruption: AugmentedError<ApiType>;617      /**618       * The information provided is incorrect.619       **/620      InvalidWitness: AugmentedError<ApiType>;621      /**622       * There are no further records to be removed.623       **/624      NoneRemaining: AugmentedError<ApiType>;625      /**626       * The origin is not sufficiently privileged to do the operation.627       **/628      NoPermission: AugmentedError<ApiType>;629      /**630       * Account is not a member.631       **/632      NotMember: AugmentedError<ApiType>;633      /**634       * The given poll index is unknown or has closed.635       **/636      NotPolling: AugmentedError<ApiType>;637      /**638       * The given poll is still ongoing.639       **/640      Ongoing: AugmentedError<ApiType>;641      /**642       * The member's rank is too low to vote.643       **/644      RankTooLow: AugmentedError<ApiType>;645      /**646       * Generic error647       **/648      [key: string]: AugmentedError<ApiType>;649    };650    fellowshipReferenda: {651      /**652       * The referendum index provided is invalid in this context.653       **/654      BadReferendum: AugmentedError<ApiType>;655      /**656       * The referendum status is invalid for this operation.657       **/658      BadStatus: AugmentedError<ApiType>;659      /**660       * The track identifier given was invalid.661       **/662      BadTrack: AugmentedError<ApiType>;663      /**664       * There are already a full complement of referenda in progress for this track.665       **/666      Full: AugmentedError<ApiType>;667      /**668       * Referendum's decision deposit is already paid.669       **/670      HasDeposit: AugmentedError<ApiType>;671      /**672       * The deposit cannot be refunded since none was made.673       **/674      NoDeposit: AugmentedError<ApiType>;675      /**676       * The deposit refunder is not the depositor.677       **/678      NoPermission: AugmentedError<ApiType>;679      /**680       * There was nothing to do in the advancement.681       **/682      NothingToDo: AugmentedError<ApiType>;683      /**684       * Referendum is not ongoing.685       **/686      NotOngoing: AugmentedError<ApiType>;687      /**688       * No track exists for the proposal origin.689       **/690      NoTrack: AugmentedError<ApiType>;691      /**692       * The preimage does not exist.693       **/694      PreimageNotExist: AugmentedError<ApiType>;695      /**696       * The queue of the track is empty.697       **/698      QueueEmpty: AugmentedError<ApiType>;699      /**700       * Any deposit cannot be refunded until after the decision is over.701       **/702      Unfinished: AugmentedError<ApiType>;703      /**704       * Generic error705       **/706      [key: string]: AugmentedError<ApiType>;707    };708    foreignAssets: {709      /**710       * AssetId exists711       **/712      AssetIdExisted: AugmentedError<ApiType>;713      /**714       * AssetId not exists715       **/716      AssetIdNotExists: AugmentedError<ApiType>;717      /**718       * The given location could not be used (e.g. because it cannot be expressed in the719       * desired version of XCM).720       **/721      BadLocation: AugmentedError<ApiType>;722      /**723       * MultiLocation existed724       **/725      MultiLocationExisted: AugmentedError<ApiType>;726      /**727       * Generic error728       **/729      [key: string]: AugmentedError<ApiType>;730    };731    fungible: {732      /**733       * Fungible token does not support nesting.734       **/735      FungibleDisallowsNesting: AugmentedError<ApiType>;736      /**737       * Tried to set data for fungible item.738       **/739      FungibleItemsDontHaveData: AugmentedError<ApiType>;740      /**741       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.742       **/743      FungibleItemsHaveNoId: AugmentedError<ApiType>;744      /**745       * Only a fungible collection could be possibly broken; any fungible token is valid.746       **/747      FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;748      /**749       * Not Fungible item data used to mint in Fungible collection.750       **/751      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;752      /**753       * Setting allowance for all is not allowed.754       **/755      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;756      /**757       * Setting item properties is not allowed.758       **/759      SettingPropertiesNotAllowed: AugmentedError<ApiType>;760      /**761       * Generic error762       **/763      [key: string]: AugmentedError<ApiType>;764    };765    identity: {766      /**767       * Account ID is already named.768       **/769      AlreadyClaimed: AugmentedError<ApiType>;770      /**771       * Empty index.772       **/773      EmptyIndex: AugmentedError<ApiType>;774      /**775       * Fee is changed.776       **/777      FeeChanged: AugmentedError<ApiType>;778      /**779       * The index is invalid.780       **/781      InvalidIndex: AugmentedError<ApiType>;782      /**783       * Invalid judgement.784       **/785      InvalidJudgement: AugmentedError<ApiType>;786      /**787       * The target is invalid.788       **/789      InvalidTarget: AugmentedError<ApiType>;790      /**791       * The provided judgement was for a different identity.792       **/793      JudgementForDifferentIdentity: AugmentedError<ApiType>;794      /**795       * Judgement given.796       **/797      JudgementGiven: AugmentedError<ApiType>;798      /**799       * Error that occurs when there is an issue paying for judgement.800       **/801      JudgementPaymentFailed: AugmentedError<ApiType>;802      /**803       * No identity found.804       **/805      NoIdentity: AugmentedError<ApiType>;806      /**807       * Account isn't found.808       **/809      NotFound: AugmentedError<ApiType>;810      /**811       * Account isn't named.812       **/813      NotNamed: AugmentedError<ApiType>;814      /**815       * Sub-account isn't owned by sender.816       **/817      NotOwned: AugmentedError<ApiType>;818      /**819       * Sender is not a sub-account.820       **/821      NotSub: AugmentedError<ApiType>;822      /**823       * Sticky judgement.824       **/825      StickyJudgement: AugmentedError<ApiType>;826      /**827       * Too many additional fields.828       **/829      TooManyFields: AugmentedError<ApiType>;830      /**831       * Maximum amount of registrars reached. Cannot add any more.832       **/833      TooManyRegistrars: AugmentedError<ApiType>;834      /**835       * Too many subs-accounts.836       **/837      TooManySubAccounts: AugmentedError<ApiType>;838      /**839       * Generic error840       **/841      [key: string]: AugmentedError<ApiType>;842    };843    maintenance: {844      /**845       * Generic error846       **/847      [key: string]: AugmentedError<ApiType>;848    };849    nonfungible: {850      /**851       * Unable to burn NFT with children852       **/853      CantBurnNftWithChildren: AugmentedError<ApiType>;854      /**855       * Used amount > 1 with NFT856       **/857      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;858      /**859       * Not Nonfungible item data used to mint in Nonfungible collection.860       **/861      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;862      /**863       * Generic error864       **/865      [key: string]: AugmentedError<ApiType>;866    };867    parachainSystem: {868      /**869       * The inherent which supplies the host configuration did not run this block.870       **/871      HostConfigurationNotAvailable: AugmentedError<ApiType>;872      /**873       * No code upgrade has been authorized.874       **/875      NothingAuthorized: AugmentedError<ApiType>;876      /**877       * No validation function upgrade is currently scheduled.878       **/879      NotScheduled: AugmentedError<ApiType>;880      /**881       * Attempt to upgrade validation function while existing upgrade pending.882       **/883      OverlappingUpgrades: AugmentedError<ApiType>;884      /**885       * Polkadot currently prohibits this parachain from upgrading its validation function.886       **/887      ProhibitedByPolkadot: AugmentedError<ApiType>;888      /**889       * The supplied validation function has compiled into a blob larger than Polkadot is890       * willing to run.891       **/892      TooBig: AugmentedError<ApiType>;893      /**894       * The given code upgrade has not been authorized.895       **/896      Unauthorized: AugmentedError<ApiType>;897      /**898       * The inherent which supplies the validation data did not run this block.899       **/900      ValidationDataNotAvailable: AugmentedError<ApiType>;901      /**902       * Generic error903       **/904      [key: string]: AugmentedError<ApiType>;905    };906    polkadotXcm: {907      /**908       * The given account is not an identifiable sovereign account for any location.909       **/910      AccountNotSovereign: AugmentedError<ApiType>;911      /**912       * The location is invalid since it already has a subscription from us.913       **/914      AlreadySubscribed: AugmentedError<ApiType>;915      /**916       * The given location could not be used (e.g. because it cannot be expressed in the917       * desired version of XCM).918       **/919      BadLocation: AugmentedError<ApiType>;920      /**921       * The version of the `Versioned` value used is not able to be interpreted.922       **/923      BadVersion: AugmentedError<ApiType>;924      /**925       * Could not re-anchor the assets to declare the fees for the destination chain.926       **/927      CannotReanchor: AugmentedError<ApiType>;928      /**929       * The destination `MultiLocation` provided cannot be inverted.930       **/931      DestinationNotInvertible: AugmentedError<ApiType>;932      /**933       * The assets to be sent are empty.934       **/935      Empty: AugmentedError<ApiType>;936      /**937       * The operation required fees to be paid which the initiator could not meet.938       **/939      FeesNotMet: AugmentedError<ApiType>;940      /**941       * The message execution fails the filter.942       **/943      Filtered: AugmentedError<ApiType>;944      /**945       * The unlock operation cannot succeed because there are still consumers of the lock.946       **/947      InUse: AugmentedError<ApiType>;948      /**949       * Invalid asset for the operation.950       **/951      InvalidAsset: AugmentedError<ApiType>;952      /**953       * Origin is invalid for sending.954       **/955      InvalidOrigin: AugmentedError<ApiType>;956      /**957       * A remote lock with the corresponding data could not be found.958       **/959      LockNotFound: AugmentedError<ApiType>;960      /**961       * The owner does not own (all) of the asset that they wish to do the operation on.962       **/963      LowBalance: AugmentedError<ApiType>;964      /**965       * The referenced subscription could not be found.966       **/967      NoSubscription: AugmentedError<ApiType>;968      /**969       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps970       * a lack of space for buffering the message.971       **/972      SendFailure: AugmentedError<ApiType>;973      /**974       * Too many assets have been attempted for transfer.975       **/976      TooManyAssets: AugmentedError<ApiType>;977      /**978       * The asset owner has too many locks on the asset.979       **/980      TooManyLocks: AugmentedError<ApiType>;981      /**982       * The desired destination was unreachable, generally because there is a no way of routing983       * to it.984       **/985      Unreachable: AugmentedError<ApiType>;986      /**987       * The message's weight could not be determined.988       **/989      UnweighableMessage: AugmentedError<ApiType>;990      /**991       * Generic error992       **/993      [key: string]: AugmentedError<ApiType>;994    };995    preimage: {996      /**997       * Preimage has already been noted on-chain.998       **/999      AlreadyNoted: AugmentedError<ApiType>;1000      /**1001       * The user is not authorized to perform this action.1002       **/1003      NotAuthorized: AugmentedError<ApiType>;1004      /**1005       * The preimage cannot be removed since it has not yet been noted.1006       **/1007      NotNoted: AugmentedError<ApiType>;1008      /**1009       * The preimage request cannot be removed since no outstanding requests exist.1010       **/1011      NotRequested: AugmentedError<ApiType>;1012      /**1013       * A preimage may not be removed when there are outstanding requests.1014       **/1015      Requested: AugmentedError<ApiType>;1016      /**1017       * Preimage is too large to store on-chain.1018       **/1019      TooBig: AugmentedError<ApiType>;1020      /**1021       * Generic error1022       **/1023      [key: string]: AugmentedError<ApiType>;1024    };1025    refungible: {1026      /**1027       * Not Refungible item data used to mint in Refungible collection.1028       **/1029      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;1030      /**1031       * Refungible token can't nest other tokens.1032       **/1033      RefungibleDisallowsNesting: AugmentedError<ApiType>;1034      /**1035       * Refungible token can't be repartitioned by user who isn't owns all pieces.1036       **/1037      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;1038      /**1039       * Setting item properties is not allowed.1040       **/1041      SettingPropertiesNotAllowed: AugmentedError<ApiType>;1042      /**1043       * Maximum refungibility exceeded.1044       **/1045      WrongRefungiblePieces: AugmentedError<ApiType>;1046      /**1047       * Generic error1048       **/1049      [key: string]: AugmentedError<ApiType>;1050    };1051    scheduler: {1052      /**1053       * Failed to schedule a call1054       **/1055      FailedToSchedule: AugmentedError<ApiType>;1056      /**1057       * Attempt to use a non-named function on a named task.1058       **/1059      Named: AugmentedError<ApiType>;1060      /**1061       * Cannot find the scheduled call.1062       **/1063      NotFound: AugmentedError<ApiType>;1064      /**1065       * Reschedule failed because it does not change scheduled time.1066       **/1067      RescheduleNoChange: AugmentedError<ApiType>;1068      /**1069       * Given target block number is in the past.1070       **/1071      TargetBlockNumberInPast: AugmentedError<ApiType>;1072      /**1073       * Generic error1074       **/1075      [key: string]: AugmentedError<ApiType>;1076    };1077    session: {1078      /**1079       * Registered duplicate key.1080       **/1081      DuplicatedKey: AugmentedError<ApiType>;1082      /**1083       * Invalid ownership proof.1084       **/1085      InvalidProof: AugmentedError<ApiType>;1086      /**1087       * Key setting account is not live, so it's impossible to associate keys.1088       **/1089      NoAccount: AugmentedError<ApiType>;1090      /**1091       * No associated validator ID for account.1092       **/1093      NoAssociatedValidatorId: AugmentedError<ApiType>;1094      /**1095       * No keys are associated with this account.1096       **/1097      NoKeys: AugmentedError<ApiType>;1098      /**1099       * Generic error1100       **/1101      [key: string]: AugmentedError<ApiType>;1102    };1103    stateTrieMigration: {1104      /**1105       * Bad child root provided.1106       **/1107      BadChildRoot: AugmentedError<ApiType>;1108      /**1109       * Bad witness data provided.1110       **/1111      BadWitness: AugmentedError<ApiType>;1112      /**1113       * A key was longer than the configured maximum.1114       * 1115       * This means that the migration halted at the current [`Progress`] and1116       * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.1117       * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.1118       * The value should only be increased to avoid a storage migration for the currently1119       * stored [`crate::Progress::LastKey`].1120       **/1121      KeyTooLong: AugmentedError<ApiType>;1122      /**1123       * Max signed limits not respected.1124       **/1125      MaxSignedLimits: AugmentedError<ApiType>;1126      /**1127       * submitter does not have enough funds.1128       **/1129      NotEnoughFunds: AugmentedError<ApiType>;1130      /**1131       * Signed migration is not allowed because the maximum limit is not set yet.1132       **/1133      SignedMigrationNotAllowed: AugmentedError<ApiType>;1134      /**1135       * Generic error1136       **/1137      [key: string]: AugmentedError<ApiType>;1138    };1139    structure: {1140      /**1141       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.1142       **/1143      BreadthLimit: AugmentedError<ApiType>;1144      /**1145       * Tried to nest token under collection contract address, instead of token address1146       **/1147      CantNestTokenUnderCollection: AugmentedError<ApiType>;1148      /**1149       * While nesting, reached the depth limit of nesting, exceeding the provided budget.1150       **/1151      DepthLimit: AugmentedError<ApiType>;1152      /**1153       * While nesting, encountered an already checked account, detecting a loop.1154       **/1155      OuroborosDetected: AugmentedError<ApiType>;1156      /**1157       * Couldn't find the token owner that is itself a token.1158       **/1159      TokenNotFound: AugmentedError<ApiType>;1160      /**1161       * Generic error1162       **/1163      [key: string]: AugmentedError<ApiType>;1164    };1165    sudo: {1166      /**1167       * Sender must be the Sudo account1168       **/1169      RequireSudo: AugmentedError<ApiType>;1170      /**1171       * Generic error1172       **/1173      [key: string]: AugmentedError<ApiType>;1174    };1175    system: {1176      /**1177       * The origin filter prevent the call to be dispatched.1178       **/1179      CallFiltered: AugmentedError<ApiType>;1180      /**1181       * Failed to extract the runtime version from the new runtime.1182       * 1183       * Either calling `Core_version` or decoding `RuntimeVersion` failed.1184       **/1185      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;1186      /**1187       * The name of specification does not match between the current runtime1188       * and the new runtime.1189       **/1190      InvalidSpecName: AugmentedError<ApiType>;1191      /**1192       * Suicide called when the account has non-default composite data.1193       **/1194      NonDefaultComposite: AugmentedError<ApiType>;1195      /**1196       * There is a non-zero reference count preventing the account from being purged.1197       **/1198      NonZeroRefCount: AugmentedError<ApiType>;1199      /**1200       * The specification version is not allowed to decrease between the current runtime1201       * and the new runtime.1202       **/1203      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;1204      /**1205       * Generic error1206       **/1207      [key: string]: AugmentedError<ApiType>;1208    };1209    technicalCommittee: {1210      /**1211       * Members are already initialized!1212       **/1213      AlreadyInitialized: AugmentedError<ApiType>;1214      /**1215       * Duplicate proposals not allowed1216       **/1217      DuplicateProposal: AugmentedError<ApiType>;1218      /**1219       * Duplicate vote ignored1220       **/1221      DuplicateVote: AugmentedError<ApiType>;1222      /**1223       * Account is not a member1224       **/1225      NotMember: AugmentedError<ApiType>;1226      /**1227       * Proposal must exist1228       **/1229      ProposalMissing: AugmentedError<ApiType>;1230      /**1231       * The close call was made too early, before the end of the voting.1232       **/1233      TooEarly: AugmentedError<ApiType>;1234      /**1235       * There can only be a maximum of `MaxProposals` active proposals.1236       **/1237      TooManyProposals: AugmentedError<ApiType>;1238      /**1239       * Mismatched index1240       **/1241      WrongIndex: AugmentedError<ApiType>;1242      /**1243       * The given length bound for the proposal was too low.1244       **/1245      WrongProposalLength: AugmentedError<ApiType>;1246      /**1247       * The given weight bound for the proposal was too low.1248       **/1249      WrongProposalWeight: AugmentedError<ApiType>;1250      /**1251       * Generic error1252       **/1253      [key: string]: AugmentedError<ApiType>;1254    };1255    technicalCommitteeMembership: {1256      /**1257       * Already a member.1258       **/1259      AlreadyMember: AugmentedError<ApiType>;1260      /**1261       * Not a member.1262       **/1263      NotMember: AugmentedError<ApiType>;1264      /**1265       * Too many members.1266       **/1267      TooManyMembers: AugmentedError<ApiType>;1268      /**1269       * Generic error1270       **/1271      [key: string]: AugmentedError<ApiType>;1272    };1273    testUtils: {1274      TestPalletDisabled: AugmentedError<ApiType>;1275      TriggerRollback: AugmentedError<ApiType>;1276      /**1277       * Generic error1278       **/1279      [key: string]: AugmentedError<ApiType>;1280    };1281    tokens: {1282      /**1283       * Cannot convert Amount into Balance type1284       **/1285      AmountIntoBalanceFailed: AugmentedError<ApiType>;1286      /**1287       * The balance is too low1288       **/1289      BalanceTooLow: AugmentedError<ApiType>;1290      /**1291       * Beneficiary account must pre-exist1292       **/1293      DeadAccount: AugmentedError<ApiType>;1294      /**1295       * Value too low to create account due to existential deposit1296       **/1297      ExistentialDeposit: AugmentedError<ApiType>;1298      /**1299       * Transfer/payment would kill account1300       **/1301      KeepAlive: AugmentedError<ApiType>;1302      /**1303       * Failed because liquidity restrictions due to locking1304       **/1305      LiquidityRestrictions: AugmentedError<ApiType>;1306      /**1307       * Failed because the maximum locks was exceeded1308       **/1309      MaxLocksExceeded: AugmentedError<ApiType>;1310      TooManyReserves: AugmentedError<ApiType>;1311      /**1312       * Generic error1313       **/1314      [key: string]: AugmentedError<ApiType>;1315    };1316    treasury: {1317      /**1318       * The spend origin is valid but the amount it is allowed to spend is lower than the1319       * amount to be spent.1320       **/1321      InsufficientPermission: AugmentedError<ApiType>;1322      /**1323       * Proposer's balance is too low.1324       **/1325      InsufficientProposersBalance: AugmentedError<ApiType>;1326      /**1327       * No proposal or bounty at that index.1328       **/1329      InvalidIndex: AugmentedError<ApiType>;1330      /**1331       * Proposal has not been approved.1332       **/1333      ProposalNotApproved: AugmentedError<ApiType>;1334      /**1335       * Too many approvals in the queue.1336       **/1337      TooManyApprovals: AugmentedError<ApiType>;1338      /**1339       * Generic error1340       **/1341      [key: string]: AugmentedError<ApiType>;1342    };1343    unique: {1344      /**1345       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].1346       **/1347      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;1348      /**1349       * Length of items properties must be greater than 0.1350       **/1351      EmptyArgument: AugmentedError<ApiType>;1352      /**1353       * Repertition is only supported by refungible collection.1354       **/1355      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;1356      /**1357       * Generic error1358       **/1359      [key: string]: AugmentedError<ApiType>;1360    };1361    vesting: {1362      /**1363       * The vested transfer amount is too low1364       **/1365      AmountLow: AugmentedError<ApiType>;1366      /**1367       * Insufficient amount of balance to lock1368       **/1369      InsufficientBalanceToLock: AugmentedError<ApiType>;1370      /**1371       * Failed because the maximum vesting schedules was exceeded1372       **/1373      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;1374      /**1375       * This account have too many vesting schedules1376       **/1377      TooManyVestingSchedules: AugmentedError<ApiType>;1378      /**1379       * Vesting period is zero1380       **/1381      ZeroVestingPeriod: AugmentedError<ApiType>;1382      /**1383       * Number of vests is zero1384       **/1385      ZeroVestingPeriodCount: AugmentedError<ApiType>;1386      /**1387       * Generic error1388       **/1389      [key: string]: AugmentedError<ApiType>;1390    };1391    xcmpQueue: {1392      /**1393       * Bad overweight index.1394       **/1395      BadOverweightIndex: AugmentedError<ApiType>;1396      /**1397       * Bad XCM data.1398       **/1399      BadXcm: AugmentedError<ApiType>;1400      /**1401       * Bad XCM origin.1402       **/1403      BadXcmOrigin: AugmentedError<ApiType>;1404      /**1405       * Failed to send XCM message.1406       **/1407      FailedToSend: AugmentedError<ApiType>;1408      /**1409       * Provided weight is possibly not enough to execute the message.1410       **/1411      WeightOverLimit: AugmentedError<ApiType>;1412      /**1413       * Generic error1414       **/1415      [key: string]: AugmentedError<ApiType>;1416    };1417    xTokens: {1418      /**1419       * Asset has no reserve location.1420       **/1421      AssetHasNoReserve: AugmentedError<ApiType>;1422      /**1423       * The specified index does not exist in a MultiAssets struct.1424       **/1425      AssetIndexNonExistent: AugmentedError<ApiType>;1426      /**1427       * The version of the `Versioned` value used is not able to be1428       * interpreted.1429       **/1430      BadVersion: AugmentedError<ApiType>;1431      /**1432       * Could not re-anchor the assets to declare the fees for the1433       * destination chain.1434       **/1435      CannotReanchor: AugmentedError<ApiType>;1436      /**1437       * The destination `MultiLocation` provided cannot be inverted.1438       **/1439      DestinationNotInvertible: AugmentedError<ApiType>;1440      /**1441       * We tried sending distinct asset and fee but they have different1442       * reserve chains.1443       **/1444      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;1445      /**1446       * Fee is not enough.1447       **/1448      FeeNotEnough: AugmentedError<ApiType>;1449      /**1450       * Could not get ancestry of asset reserve location.1451       **/1452      InvalidAncestry: AugmentedError<ApiType>;1453      /**1454       * The MultiAsset is invalid.1455       **/1456      InvalidAsset: AugmentedError<ApiType>;1457      /**1458       * Invalid transfer destination.1459       **/1460      InvalidDest: AugmentedError<ApiType>;1461      /**1462       * MinXcmFee not registered for certain reserve location1463       **/1464      MinXcmFeeNotDefined: AugmentedError<ApiType>;1465      /**1466       * Not cross-chain transfer.1467       **/1468      NotCrossChainTransfer: AugmentedError<ApiType>;1469      /**1470       * Currency is not cross-chain transferable.1471       **/1472      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;1473      /**1474       * Not supported MultiLocation1475       **/1476      NotSupportedMultiLocation: AugmentedError<ApiType>;1477      /**1478       * The number of assets to be sent is over the maximum.1479       **/1480      TooManyAssetsBeingSent: AugmentedError<ApiType>;1481      /**1482       * The message's weight could not be determined.1483       **/1484      UnweighableMessage: AugmentedError<ApiType>;1485      /**1486       * XCM execution failed.1487       **/1488      XcmExecutionFailed: AugmentedError<ApiType>;1489      /**1490       * The transfering asset amount is zero.1491       **/1492      ZeroAmount: AugmentedError<ApiType>;1493      /**1494       * The fee is zero.1495       **/1496      ZeroFee: AugmentedError<ApiType>;1497      /**1498       * Generic error1499       **/1500      [key: string]: AugmentedError<ApiType>;1501    };1502  } // AugmentedErrors1503} // declare module