git.delta.rocks / unique-network / refs/commits / 2286a2234aea

difftreelog

source

tests/src/interfaces/augment-api-errors.ts43.1 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       * Fungible tokens hold no ID, and the default value of TokenId for a fungible collection is 0.231       **/232      FungibleItemsHaveNoId: AugmentedError<ApiType>;233      /**234       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed235       **/236      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;237      /**238       * Metadata flag frozen239       **/240      MetadataFlagFrozen: AugmentedError<ApiType>;241      /**242       * Sender parameter and item owner must be equal.243       **/244      MustBeTokenOwner: AugmentedError<ApiType>;245      /**246       * No permission to perform action247       **/248      NoPermission: AugmentedError<ApiType>;249      /**250       * Tried to store more property data than allowed251       **/252      NoSpaceForProperty: AugmentedError<ApiType>;253      /**254       * Insufficient funds to perform an action255       **/256      NotSufficientFounds: AugmentedError<ApiType>;257      /**258       * Tried to enable permissions which are only permitted to be disabled259       **/260      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;261      /**262       * Property key is too long263       **/264      PropertyKeyIsTooLong: AugmentedError<ApiType>;265      /**266       * Tried to store more property keys than allowed267       **/268      PropertyLimitReached: AugmentedError<ApiType>;269      /**270       * Collection is not in mint mode.271       **/272      PublicMintingNotAllowed: AugmentedError<ApiType>;273      /**274       * Only tokens from specific collections may nest tokens under this one275       **/276      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;277      /**278       * Item does not exist279       **/280      TokenNotFound: AugmentedError<ApiType>;281      /**282       * Item is balance not enough283       **/284      TokenValueTooLow: AugmentedError<ApiType>;285      /**286       * Total collections bound exceeded.287       **/288      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;289      /**290       * Collection settings not allowing items transferring291       **/292      TransferNotAllowed: AugmentedError<ApiType>;293      /**294       * The operation is not supported295       **/296      UnsupportedOperation: AugmentedError<ApiType>;297      /**298       * User does not satisfy the nesting rule299       **/300      UserIsNotAllowedToNest: AugmentedError<ApiType>;301      /**302       * The user is not an administrator.303       **/304      UserIsNotCollectionAdmin: AugmentedError<ApiType>;305      /**306       * Generic error307       **/308      [key: string]: AugmentedError<ApiType>;309    };310    configuration: {311      InconsistentConfiguration: AugmentedError<ApiType>;312      /**313       * Generic error314       **/315      [key: string]: AugmentedError<ApiType>;316    };317    council: {318      /**319       * Members are already initialized!320       **/321      AlreadyInitialized: AugmentedError<ApiType>;322      /**323       * Duplicate proposals not allowed324       **/325      DuplicateProposal: AugmentedError<ApiType>;326      /**327       * Duplicate vote ignored328       **/329      DuplicateVote: AugmentedError<ApiType>;330      /**331       * Account is not a member332       **/333      NotMember: AugmentedError<ApiType>;334      /**335       * Prime account is not a member336       **/337      PrimeAccountNotMember: AugmentedError<ApiType>;338      /**339       * Proposal must exist340       **/341      ProposalMissing: AugmentedError<ApiType>;342      /**343       * The close call was made too early, before the end of the voting.344       **/345      TooEarly: AugmentedError<ApiType>;346      /**347       * There can only be a maximum of `MaxProposals` active proposals.348       **/349      TooManyProposals: AugmentedError<ApiType>;350      /**351       * Mismatched index352       **/353      WrongIndex: AugmentedError<ApiType>;354      /**355       * The given length bound for the proposal was too low.356       **/357      WrongProposalLength: AugmentedError<ApiType>;358      /**359       * The given weight bound for the proposal was too low.360       **/361      WrongProposalWeight: AugmentedError<ApiType>;362      /**363       * Generic error364       **/365      [key: string]: AugmentedError<ApiType>;366    };367    councilMembership: {368      /**369       * Already a member.370       **/371      AlreadyMember: AugmentedError<ApiType>;372      /**373       * Not a member.374       **/375      NotMember: AugmentedError<ApiType>;376      /**377       * Too many members.378       **/379      TooManyMembers: AugmentedError<ApiType>;380      /**381       * Generic error382       **/383      [key: string]: AugmentedError<ApiType>;384    };385    cumulusXcm: {386      /**387       * Generic error388       **/389      [key: string]: AugmentedError<ApiType>;390    };391    democracy: {392      /**393       * Cannot cancel the same proposal twice394       **/395      AlreadyCanceled: AugmentedError<ApiType>;396      /**397       * The account is already delegating.398       **/399      AlreadyDelegating: AugmentedError<ApiType>;400      /**401       * Identity may not veto a proposal twice402       **/403      AlreadyVetoed: AugmentedError<ApiType>;404      /**405       * Proposal already made406       **/407      DuplicateProposal: AugmentedError<ApiType>;408      /**409       * The instant referendum origin is currently disallowed.410       **/411      InstantNotAllowed: AugmentedError<ApiType>;412      /**413       * Too high a balance was provided that the account cannot afford.414       **/415      InsufficientFunds: AugmentedError<ApiType>;416      /**417       * Invalid hash418       **/419      InvalidHash: AugmentedError<ApiType>;420      /**421       * Maximum number of votes reached.422       **/423      MaxVotesReached: AugmentedError<ApiType>;424      /**425       * No proposals waiting426       **/427      NoneWaiting: AugmentedError<ApiType>;428      /**429       * Delegation to oneself makes no sense.430       **/431      Nonsense: AugmentedError<ApiType>;432      /**433       * The actor has no permission to conduct the action.434       **/435      NoPermission: AugmentedError<ApiType>;436      /**437       * No external proposal438       **/439      NoProposal: AugmentedError<ApiType>;440      /**441       * The account is not currently delegating.442       **/443      NotDelegating: AugmentedError<ApiType>;444      /**445       * Next external proposal not simple majority446       **/447      NotSimpleMajority: AugmentedError<ApiType>;448      /**449       * The given account did not vote on the referendum.450       **/451      NotVoter: AugmentedError<ApiType>;452      /**453       * The preimage does not exist.454       **/455      PreimageNotExist: AugmentedError<ApiType>;456      /**457       * Proposal still blacklisted458       **/459      ProposalBlacklisted: AugmentedError<ApiType>;460      /**461       * Proposal does not exist462       **/463      ProposalMissing: AugmentedError<ApiType>;464      /**465       * Vote given for invalid referendum466       **/467      ReferendumInvalid: AugmentedError<ApiType>;468      /**469       * Maximum number of items reached.470       **/471      TooMany: AugmentedError<ApiType>;472      /**473       * Value too low474       **/475      ValueLow: AugmentedError<ApiType>;476      /**477       * The account currently has votes attached to it and the operation cannot succeed until478       * these are removed, either through `unvote` or `reap_vote`.479       **/480      VotesExist: AugmentedError<ApiType>;481      /**482       * Voting period too low483       **/484      VotingPeriodLow: AugmentedError<ApiType>;485      /**486       * Invalid upper bound.487       **/488      WrongUpperBound: AugmentedError<ApiType>;489      /**490       * Generic error491       **/492      [key: string]: AugmentedError<ApiType>;493    };494    dmpQueue: {495      /**496       * The amount of weight given is possibly not enough for executing the message.497       **/498      OverLimit: AugmentedError<ApiType>;499      /**500       * The message index given is unknown.501       **/502      Unknown: AugmentedError<ApiType>;503      /**504       * Generic error505       **/506      [key: string]: AugmentedError<ApiType>;507    };508    ethereum: {509      /**510       * Signature is invalid.511       **/512      InvalidSignature: AugmentedError<ApiType>;513      /**514       * Pre-log is present, therefore transact is not allowed.515       **/516      PreLogExists: AugmentedError<ApiType>;517      /**518       * Generic error519       **/520      [key: string]: AugmentedError<ApiType>;521    };522    evm: {523      /**524       * Not enough balance to perform action525       **/526      BalanceLow: AugmentedError<ApiType>;527      /**528       * Calculating total fee overflowed529       **/530      FeeOverflow: AugmentedError<ApiType>;531      /**532       * Gas limit is too high.533       **/534      GasLimitTooHigh: AugmentedError<ApiType>;535      /**536       * Gas limit is too low.537       **/538      GasLimitTooLow: AugmentedError<ApiType>;539      /**540       * Gas price is too low.541       **/542      GasPriceTooLow: AugmentedError<ApiType>;543      /**544       * Nonce is invalid545       **/546      InvalidNonce: AugmentedError<ApiType>;547      /**548       * Calculating total payment overflowed549       **/550      PaymentOverflow: AugmentedError<ApiType>;551      /**552       * EVM reentrancy553       **/554      Reentrancy: AugmentedError<ApiType>;555      /**556       * EIP-3607,557       **/558      TransactionMustComeFromEOA: AugmentedError<ApiType>;559      /**560       * Undefined error.561       **/562      Undefined: AugmentedError<ApiType>;563      /**564       * Withdraw fee failed565       **/566      WithdrawFailed: AugmentedError<ApiType>;567      /**568       * Generic error569       **/570      [key: string]: AugmentedError<ApiType>;571    };572    evmCoderSubstrate: {573      OutOfFund: AugmentedError<ApiType>;574      OutOfGas: AugmentedError<ApiType>;575      /**576       * Generic error577       **/578      [key: string]: AugmentedError<ApiType>;579    };580    evmContractHelpers: {581      /**582       * No pending sponsor for contract.583       **/584      NoPendingSponsor: AugmentedError<ApiType>;585      /**586       * This method is only executable by contract owner587       **/588      NoPermission: AugmentedError<ApiType>;589      /**590       * Number of methods that sponsored limit is defined for exceeds maximum.591       **/592      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;593      /**594       * Generic error595       **/596      [key: string]: AugmentedError<ApiType>;597    };598    evmMigration: {599      /**600       * Migration of this account is not yet started, or already finished.601       **/602      AccountIsNotMigrating: AugmentedError<ApiType>;603      /**604       * Can only migrate to empty address.605       **/606      AccountNotEmpty: AugmentedError<ApiType>;607      /**608       * Failed to decode event bytes609       **/610      BadEvent: AugmentedError<ApiType>;611      /**612       * Generic error613       **/614      [key: string]: AugmentedError<ApiType>;615    };616    fellowshipCollective: {617      /**618       * Account is already a member.619       **/620      AlreadyMember: AugmentedError<ApiType>;621      /**622       * Unexpected error in state.623       **/624      Corruption: AugmentedError<ApiType>;625      /**626       * The information provided is incorrect.627       **/628      InvalidWitness: AugmentedError<ApiType>;629      /**630       * There are no further records to be removed.631       **/632      NoneRemaining: AugmentedError<ApiType>;633      /**634       * The origin is not sufficiently privileged to do the operation.635       **/636      NoPermission: AugmentedError<ApiType>;637      /**638       * Account is not a member.639       **/640      NotMember: AugmentedError<ApiType>;641      /**642       * The given poll index is unknown or has closed.643       **/644      NotPolling: AugmentedError<ApiType>;645      /**646       * The given poll is still ongoing.647       **/648      Ongoing: AugmentedError<ApiType>;649      /**650       * The member's rank is too low to vote.651       **/652      RankTooLow: AugmentedError<ApiType>;653      /**654       * Generic error655       **/656      [key: string]: AugmentedError<ApiType>;657    };658    fellowshipReferenda: {659      /**660       * The referendum index provided is invalid in this context.661       **/662      BadReferendum: AugmentedError<ApiType>;663      /**664       * The referendum status is invalid for this operation.665       **/666      BadStatus: AugmentedError<ApiType>;667      /**668       * The track identifier given was invalid.669       **/670      BadTrack: AugmentedError<ApiType>;671      /**672       * There are already a full complement of referenda in progress for this track.673       **/674      Full: AugmentedError<ApiType>;675      /**676       * Referendum's decision deposit is already paid.677       **/678      HasDeposit: AugmentedError<ApiType>;679      /**680       * The deposit cannot be refunded since none was made.681       **/682      NoDeposit: AugmentedError<ApiType>;683      /**684       * The deposit refunder is not the depositor.685       **/686      NoPermission: AugmentedError<ApiType>;687      /**688       * There was nothing to do in the advancement.689       **/690      NothingToDo: AugmentedError<ApiType>;691      /**692       * Referendum is not ongoing.693       **/694      NotOngoing: AugmentedError<ApiType>;695      /**696       * No track exists for the proposal origin.697       **/698      NoTrack: AugmentedError<ApiType>;699      /**700       * The preimage does not exist.701       **/702      PreimageNotExist: AugmentedError<ApiType>;703      /**704       * The queue of the track is empty.705       **/706      QueueEmpty: AugmentedError<ApiType>;707      /**708       * Any deposit cannot be refunded until after the decision is over.709       **/710      Unfinished: AugmentedError<ApiType>;711      /**712       * Generic error713       **/714      [key: string]: AugmentedError<ApiType>;715    };716    foreignAssets: {717      /**718       * AssetId exists719       **/720      AssetIdExisted: AugmentedError<ApiType>;721      /**722       * AssetId not exists723       **/724      AssetIdNotExists: AugmentedError<ApiType>;725      /**726       * The given location could not be used (e.g. because it cannot be expressed in the727       * desired version of XCM).728       **/729      BadLocation: AugmentedError<ApiType>;730      /**731       * MultiLocation existed732       **/733      MultiLocationExisted: AugmentedError<ApiType>;734      /**735       * Generic error736       **/737      [key: string]: AugmentedError<ApiType>;738    };739    fungible: {740      /**741       * Fungible token does not support nesting.742       **/743      FungibleDisallowsNesting: AugmentedError<ApiType>;744      /**745       * Tried to set data for fungible item.746       **/747      FungibleItemsDontHaveData: AugmentedError<ApiType>;748      /**749       * Only a fungible collection could be possibly broken; any fungible token is valid.750       **/751      FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;752      /**753       * Not Fungible item data used to mint in Fungible collection.754       **/755      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;756      /**757       * Setting allowance for all is not allowed.758       **/759      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;760      /**761       * Setting item properties is not allowed.762       **/763      SettingPropertiesNotAllowed: AugmentedError<ApiType>;764      /**765       * Generic error766       **/767      [key: string]: AugmentedError<ApiType>;768    };769    identity: {770      /**771       * Account ID is already named.772       **/773      AlreadyClaimed: AugmentedError<ApiType>;774      /**775       * Empty index.776       **/777      EmptyIndex: AugmentedError<ApiType>;778      /**779       * Fee is changed.780       **/781      FeeChanged: AugmentedError<ApiType>;782      /**783       * The index is invalid.784       **/785      InvalidIndex: AugmentedError<ApiType>;786      /**787       * Invalid judgement.788       **/789      InvalidJudgement: AugmentedError<ApiType>;790      /**791       * The target is invalid.792       **/793      InvalidTarget: AugmentedError<ApiType>;794      /**795       * The provided judgement was for a different identity.796       **/797      JudgementForDifferentIdentity: AugmentedError<ApiType>;798      /**799       * Judgement given.800       **/801      JudgementGiven: AugmentedError<ApiType>;802      /**803       * Error that occurs when there is an issue paying for judgement.804       **/805      JudgementPaymentFailed: AugmentedError<ApiType>;806      /**807       * No identity found.808       **/809      NoIdentity: AugmentedError<ApiType>;810      /**811       * Account isn't found.812       **/813      NotFound: AugmentedError<ApiType>;814      /**815       * Account isn't named.816       **/817      NotNamed: AugmentedError<ApiType>;818      /**819       * Sub-account isn't owned by sender.820       **/821      NotOwned: AugmentedError<ApiType>;822      /**823       * Sender is not a sub-account.824       **/825      NotSub: AugmentedError<ApiType>;826      /**827       * Sticky judgement.828       **/829      StickyJudgement: AugmentedError<ApiType>;830      /**831       * Too many additional fields.832       **/833      TooManyFields: AugmentedError<ApiType>;834      /**835       * Maximum amount of registrars reached. Cannot add any more.836       **/837      TooManyRegistrars: AugmentedError<ApiType>;838      /**839       * Too many subs-accounts.840       **/841      TooManySubAccounts: AugmentedError<ApiType>;842      /**843       * Generic error844       **/845      [key: string]: AugmentedError<ApiType>;846    };847    maintenance: {848      /**849       * Generic error850       **/851      [key: string]: AugmentedError<ApiType>;852    };853    nonfungible: {854      /**855       * Unable to burn NFT with children856       **/857      CantBurnNftWithChildren: AugmentedError<ApiType>;858      /**859       * Used amount > 1 with NFT860       **/861      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;862      /**863       * Not Nonfungible item data used to mint in Nonfungible collection.864       **/865      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;866      /**867       * Generic error868       **/869      [key: string]: AugmentedError<ApiType>;870    };871    parachainSystem: {872      /**873       * The inherent which supplies the host configuration did not run this block.874       **/875      HostConfigurationNotAvailable: AugmentedError<ApiType>;876      /**877       * No code upgrade has been authorized.878       **/879      NothingAuthorized: AugmentedError<ApiType>;880      /**881       * No validation function upgrade is currently scheduled.882       **/883      NotScheduled: AugmentedError<ApiType>;884      /**885       * Attempt to upgrade validation function while existing upgrade pending.886       **/887      OverlappingUpgrades: AugmentedError<ApiType>;888      /**889       * Polkadot currently prohibits this parachain from upgrading its validation function.890       **/891      ProhibitedByPolkadot: AugmentedError<ApiType>;892      /**893       * The supplied validation function has compiled into a blob larger than Polkadot is894       * willing to run.895       **/896      TooBig: AugmentedError<ApiType>;897      /**898       * The given code upgrade has not been authorized.899       **/900      Unauthorized: AugmentedError<ApiType>;901      /**902       * The inherent which supplies the validation data did not run this block.903       **/904      ValidationDataNotAvailable: AugmentedError<ApiType>;905      /**906       * Generic error907       **/908      [key: string]: AugmentedError<ApiType>;909    };910    polkadotXcm: {911      /**912       * The given account is not an identifiable sovereign account for any location.913       **/914      AccountNotSovereign: AugmentedError<ApiType>;915      /**916       * The location is invalid since it already has a subscription from us.917       **/918      AlreadySubscribed: AugmentedError<ApiType>;919      /**920       * The given location could not be used (e.g. because it cannot be expressed in the921       * desired version of XCM).922       **/923      BadLocation: AugmentedError<ApiType>;924      /**925       * The version of the `Versioned` value used is not able to be interpreted.926       **/927      BadVersion: AugmentedError<ApiType>;928      /**929       * Could not re-anchor the assets to declare the fees for the destination chain.930       **/931      CannotReanchor: AugmentedError<ApiType>;932      /**933       * The destination `MultiLocation` provided cannot be inverted.934       **/935      DestinationNotInvertible: AugmentedError<ApiType>;936      /**937       * The assets to be sent are empty.938       **/939      Empty: AugmentedError<ApiType>;940      /**941       * The operation required fees to be paid which the initiator could not meet.942       **/943      FeesNotMet: AugmentedError<ApiType>;944      /**945       * The message execution fails the filter.946       **/947      Filtered: AugmentedError<ApiType>;948      /**949       * The unlock operation cannot succeed because there are still consumers of the lock.950       **/951      InUse: AugmentedError<ApiType>;952      /**953       * Invalid asset for the operation.954       **/955      InvalidAsset: AugmentedError<ApiType>;956      /**957       * Origin is invalid for sending.958       **/959      InvalidOrigin: AugmentedError<ApiType>;960      /**961       * A remote lock with the corresponding data could not be found.962       **/963      LockNotFound: AugmentedError<ApiType>;964      /**965       * The owner does not own (all) of the asset that they wish to do the operation on.966       **/967      LowBalance: AugmentedError<ApiType>;968      /**969       * The referenced subscription could not be found.970       **/971      NoSubscription: AugmentedError<ApiType>;972      /**973       * There was some other issue (i.e. not to do with routing) in sending the message.974       * Perhaps a lack of space for buffering the message.975       **/976      SendFailure: AugmentedError<ApiType>;977      /**978       * Too many assets have been attempted for transfer.979       **/980      TooManyAssets: AugmentedError<ApiType>;981      /**982       * The asset owner has too many locks on the asset.983       **/984      TooManyLocks: AugmentedError<ApiType>;985      /**986       * The desired destination was unreachable, generally because there is a no way of routing987       * to it.988       **/989      Unreachable: AugmentedError<ApiType>;990      /**991       * The message's weight could not be determined.992       **/993      UnweighableMessage: AugmentedError<ApiType>;994      /**995       * Generic error996       **/997      [key: string]: AugmentedError<ApiType>;998    };999    preimage: {1000      /**1001       * Preimage has already been noted on-chain.1002       **/1003      AlreadyNoted: AugmentedError<ApiType>;1004      /**1005       * The user is not authorized to perform this action.1006       **/1007      NotAuthorized: AugmentedError<ApiType>;1008      /**1009       * The preimage cannot be removed since it has not yet been noted.1010       **/1011      NotNoted: AugmentedError<ApiType>;1012      /**1013       * The preimage request cannot be removed since no outstanding requests exist.1014       **/1015      NotRequested: AugmentedError<ApiType>;1016      /**1017       * A preimage may not be removed when there are outstanding requests.1018       **/1019      Requested: AugmentedError<ApiType>;1020      /**1021       * Preimage is too large to store on-chain.1022       **/1023      TooBig: AugmentedError<ApiType>;1024      /**1025       * Generic error1026       **/1027      [key: string]: AugmentedError<ApiType>;1028    };1029    refungible: {1030      /**1031       * Not Refungible item data used to mint in Refungible collection.1032       **/1033      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;1034      /**1035       * Refungible token can't nest other tokens.1036       **/1037      RefungibleDisallowsNesting: AugmentedError<ApiType>;1038      /**1039       * Refungible token can't be repartitioned by user who isn't owns all pieces.1040       **/1041      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;1042      /**1043       * Setting item properties is not allowed.1044       **/1045      SettingPropertiesNotAllowed: AugmentedError<ApiType>;1046      /**1047       * Maximum refungibility exceeded.1048       **/1049      WrongRefungiblePieces: AugmentedError<ApiType>;1050      /**1051       * Generic error1052       **/1053      [key: string]: AugmentedError<ApiType>;1054    };1055    scheduler: {1056      /**1057       * Failed to schedule a call1058       **/1059      FailedToSchedule: AugmentedError<ApiType>;1060      /**1061       * Attempt to use a non-named function on a named task.1062       **/1063      Named: AugmentedError<ApiType>;1064      /**1065       * Cannot find the scheduled call.1066       **/1067      NotFound: AugmentedError<ApiType>;1068      /**1069       * Reschedule failed because it does not change scheduled time.1070       **/1071      RescheduleNoChange: AugmentedError<ApiType>;1072      /**1073       * Given target block number is in the past.1074       **/1075      TargetBlockNumberInPast: AugmentedError<ApiType>;1076      /**1077       * Generic error1078       **/1079      [key: string]: AugmentedError<ApiType>;1080    };1081    session: {1082      /**1083       * Registered duplicate key.1084       **/1085      DuplicatedKey: AugmentedError<ApiType>;1086      /**1087       * Invalid ownership proof.1088       **/1089      InvalidProof: AugmentedError<ApiType>;1090      /**1091       * Key setting account is not live, so it's impossible to associate keys.1092       **/1093      NoAccount: AugmentedError<ApiType>;1094      /**1095       * No associated validator ID for account.1096       **/1097      NoAssociatedValidatorId: AugmentedError<ApiType>;1098      /**1099       * No keys are associated with this account.1100       **/1101      NoKeys: AugmentedError<ApiType>;1102      /**1103       * Generic error1104       **/1105      [key: string]: AugmentedError<ApiType>;1106    };1107    stateTrieMigration: {1108      /**1109       * Bad child root provided.1110       **/1111      BadChildRoot: AugmentedError<ApiType>;1112      /**1113       * Bad witness data provided.1114       **/1115      BadWitness: AugmentedError<ApiType>;1116      /**1117       * A key was longer than the configured maximum.1118       * 1119       * This means that the migration halted at the current [`Progress`] and1120       * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.1121       * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.1122       * The value should only be increased to avoid a storage migration for the currently1123       * stored [`crate::Progress::LastKey`].1124       **/1125      KeyTooLong: AugmentedError<ApiType>;1126      /**1127       * Max signed limits not respected.1128       **/1129      MaxSignedLimits: AugmentedError<ApiType>;1130      /**1131       * submitter does not have enough funds.1132       **/1133      NotEnoughFunds: AugmentedError<ApiType>;1134      /**1135       * Signed migration is not allowed because the maximum limit is not set yet.1136       **/1137      SignedMigrationNotAllowed: AugmentedError<ApiType>;1138      /**1139       * Generic error1140       **/1141      [key: string]: AugmentedError<ApiType>;1142    };1143    structure: {1144      /**1145       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.1146       **/1147      BreadthLimit: AugmentedError<ApiType>;1148      /**1149       * Tried to nest token under collection contract address, instead of token address1150       **/1151      CantNestTokenUnderCollection: AugmentedError<ApiType>;1152      /**1153       * While nesting, reached the depth limit of nesting, exceeding the provided budget.1154       **/1155      DepthLimit: AugmentedError<ApiType>;1156      /**1157       * While nesting, encountered an already checked account, detecting a loop.1158       **/1159      OuroborosDetected: AugmentedError<ApiType>;1160      /**1161       * Couldn't find the token owner that is itself a token.1162       **/1163      TokenNotFound: AugmentedError<ApiType>;1164      /**1165       * Generic error1166       **/1167      [key: string]: AugmentedError<ApiType>;1168    };1169    sudo: {1170      /**1171       * Sender must be the Sudo account1172       **/1173      RequireSudo: AugmentedError<ApiType>;1174      /**1175       * Generic error1176       **/1177      [key: string]: AugmentedError<ApiType>;1178    };1179    system: {1180      /**1181       * The origin filter prevent the call to be dispatched.1182       **/1183      CallFiltered: AugmentedError<ApiType>;1184      /**1185       * Failed to extract the runtime version from the new runtime.1186       * 1187       * Either calling `Core_version` or decoding `RuntimeVersion` failed.1188       **/1189      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;1190      /**1191       * The name of specification does not match between the current runtime1192       * and the new runtime.1193       **/1194      InvalidSpecName: AugmentedError<ApiType>;1195      /**1196       * Suicide called when the account has non-default composite data.1197       **/1198      NonDefaultComposite: AugmentedError<ApiType>;1199      /**1200       * There is a non-zero reference count preventing the account from being purged.1201       **/1202      NonZeroRefCount: AugmentedError<ApiType>;1203      /**1204       * The specification version is not allowed to decrease between the current runtime1205       * and the new runtime.1206       **/1207      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;1208      /**1209       * Generic error1210       **/1211      [key: string]: AugmentedError<ApiType>;1212    };1213    technicalCommittee: {1214      /**1215       * Members are already initialized!1216       **/1217      AlreadyInitialized: AugmentedError<ApiType>;1218      /**1219       * Duplicate proposals not allowed1220       **/1221      DuplicateProposal: AugmentedError<ApiType>;1222      /**1223       * Duplicate vote ignored1224       **/1225      DuplicateVote: AugmentedError<ApiType>;1226      /**1227       * Account is not a member1228       **/1229      NotMember: AugmentedError<ApiType>;1230      /**1231       * Prime account is not a member1232       **/1233      PrimeAccountNotMember: AugmentedError<ApiType>;1234      /**1235       * Proposal must exist1236       **/1237      ProposalMissing: AugmentedError<ApiType>;1238      /**1239       * The close call was made too early, before the end of the voting.1240       **/1241      TooEarly: AugmentedError<ApiType>;1242      /**1243       * There can only be a maximum of `MaxProposals` active proposals.1244       **/1245      TooManyProposals: AugmentedError<ApiType>;1246      /**1247       * Mismatched index1248       **/1249      WrongIndex: AugmentedError<ApiType>;1250      /**1251       * The given length bound for the proposal was too low.1252       **/1253      WrongProposalLength: AugmentedError<ApiType>;1254      /**1255       * The given weight bound for the proposal was too low.1256       **/1257      WrongProposalWeight: AugmentedError<ApiType>;1258      /**1259       * Generic error1260       **/1261      [key: string]: AugmentedError<ApiType>;1262    };1263    technicalCommitteeMembership: {1264      /**1265       * Already a member.1266       **/1267      AlreadyMember: AugmentedError<ApiType>;1268      /**1269       * Not a member.1270       **/1271      NotMember: AugmentedError<ApiType>;1272      /**1273       * Too many members.1274       **/1275      TooManyMembers: AugmentedError<ApiType>;1276      /**1277       * Generic error1278       **/1279      [key: string]: AugmentedError<ApiType>;1280    };1281    testUtils: {1282      TestPalletDisabled: AugmentedError<ApiType>;1283      TriggerRollback: AugmentedError<ApiType>;1284      /**1285       * Generic error1286       **/1287      [key: string]: AugmentedError<ApiType>;1288    };1289    tokens: {1290      /**1291       * Cannot convert Amount into Balance type1292       **/1293      AmountIntoBalanceFailed: AugmentedError<ApiType>;1294      /**1295       * The balance is too low1296       **/1297      BalanceTooLow: AugmentedError<ApiType>;1298      /**1299       * Beneficiary account must pre-exist1300       **/1301      DeadAccount: AugmentedError<ApiType>;1302      /**1303       * Value too low to create account due to existential deposit1304       **/1305      ExistentialDeposit: AugmentedError<ApiType>;1306      /**1307       * Transfer/payment would kill account1308       **/1309      KeepAlive: AugmentedError<ApiType>;1310      /**1311       * Failed because liquidity restrictions due to locking1312       **/1313      LiquidityRestrictions: AugmentedError<ApiType>;1314      /**1315       * Failed because the maximum locks was exceeded1316       **/1317      MaxLocksExceeded: AugmentedError<ApiType>;1318      TooManyReserves: AugmentedError<ApiType>;1319      /**1320       * Generic error1321       **/1322      [key: string]: AugmentedError<ApiType>;1323    };1324    treasury: {1325      /**1326       * The spend origin is valid but the amount it is allowed to spend is lower than the1327       * amount to be spent.1328       **/1329      InsufficientPermission: AugmentedError<ApiType>;1330      /**1331       * Proposer's balance is too low.1332       **/1333      InsufficientProposersBalance: AugmentedError<ApiType>;1334      /**1335       * No proposal or bounty at that index.1336       **/1337      InvalidIndex: AugmentedError<ApiType>;1338      /**1339       * Proposal has not been approved.1340       **/1341      ProposalNotApproved: AugmentedError<ApiType>;1342      /**1343       * Too many approvals in the queue.1344       **/1345      TooManyApprovals: AugmentedError<ApiType>;1346      /**1347       * Generic error1348       **/1349      [key: string]: AugmentedError<ApiType>;1350    };1351    unique: {1352      /**1353       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].1354       **/1355      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;1356      /**1357       * Length of items properties must be greater than 0.1358       **/1359      EmptyArgument: AugmentedError<ApiType>;1360      /**1361       * Repertition is only supported by refungible collection.1362       **/1363      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;1364      /**1365       * Generic error1366       **/1367      [key: string]: AugmentedError<ApiType>;1368    };1369    utility: {1370      /**1371       * Too many calls batched.1372       **/1373      TooManyCalls: AugmentedError<ApiType>;1374      /**1375       * Generic error1376       **/1377      [key: string]: AugmentedError<ApiType>;1378    };1379    vesting: {1380      /**1381       * The vested transfer amount is too low1382       **/1383      AmountLow: AugmentedError<ApiType>;1384      /**1385       * Insufficient amount of balance to lock1386       **/1387      InsufficientBalanceToLock: AugmentedError<ApiType>;1388      /**1389       * Failed because the maximum vesting schedules was exceeded1390       **/1391      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;1392      /**1393       * This account have too many vesting schedules1394       **/1395      TooManyVestingSchedules: AugmentedError<ApiType>;1396      /**1397       * Vesting period is zero1398       **/1399      ZeroVestingPeriod: AugmentedError<ApiType>;1400      /**1401       * Number of vests is zero1402       **/1403      ZeroVestingPeriodCount: AugmentedError<ApiType>;1404      /**1405       * Generic error1406       **/1407      [key: string]: AugmentedError<ApiType>;1408    };1409    xcmpQueue: {1410      /**1411       * Bad overweight index.1412       **/1413      BadOverweightIndex: AugmentedError<ApiType>;1414      /**1415       * Bad XCM data.1416       **/1417      BadXcm: AugmentedError<ApiType>;1418      /**1419       * Bad XCM origin.1420       **/1421      BadXcmOrigin: AugmentedError<ApiType>;1422      /**1423       * Failed to send XCM message.1424       **/1425      FailedToSend: AugmentedError<ApiType>;1426      /**1427       * Provided weight is possibly not enough to execute the message.1428       **/1429      WeightOverLimit: AugmentedError<ApiType>;1430      /**1431       * Generic error1432       **/1433      [key: string]: AugmentedError<ApiType>;1434    };1435    xTokens: {1436      /**1437       * Asset has no reserve location.1438       **/1439      AssetHasNoReserve: AugmentedError<ApiType>;1440      /**1441       * The specified index does not exist in a MultiAssets struct.1442       **/1443      AssetIndexNonExistent: AugmentedError<ApiType>;1444      /**1445       * The version of the `Versioned` value used is not able to be1446       * interpreted.1447       **/1448      BadVersion: AugmentedError<ApiType>;1449      /**1450       * Could not re-anchor the assets to declare the fees for the1451       * destination chain.1452       **/1453      CannotReanchor: AugmentedError<ApiType>;1454      /**1455       * The destination `MultiLocation` provided cannot be inverted.1456       **/1457      DestinationNotInvertible: AugmentedError<ApiType>;1458      /**1459       * We tried sending distinct asset and fee but they have different1460       * reserve chains.1461       **/1462      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;1463      /**1464       * Fee is not enough.1465       **/1466      FeeNotEnough: AugmentedError<ApiType>;1467      /**1468       * Could not get ancestry of asset reserve location.1469       **/1470      InvalidAncestry: AugmentedError<ApiType>;1471      /**1472       * The MultiAsset is invalid.1473       **/1474      InvalidAsset: AugmentedError<ApiType>;1475      /**1476       * Invalid transfer destination.1477       **/1478      InvalidDest: AugmentedError<ApiType>;1479      /**1480       * MinXcmFee not registered for certain reserve location1481       **/1482      MinXcmFeeNotDefined: AugmentedError<ApiType>;1483      /**1484       * Not cross-chain transfer.1485       **/1486      NotCrossChainTransfer: AugmentedError<ApiType>;1487      /**1488       * Currency is not cross-chain transferable.1489       **/1490      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;1491      /**1492       * Not supported MultiLocation1493       **/1494      NotSupportedMultiLocation: AugmentedError<ApiType>;1495      /**1496       * The number of assets to be sent is over the maximum.1497       **/1498      TooManyAssetsBeingSent: AugmentedError<ApiType>;1499      /**1500       * The message's weight could not be determined.1501       **/1502      UnweighableMessage: AugmentedError<ApiType>;1503      /**1504       * XCM execution failed.1505       **/1506      XcmExecutionFailed: AugmentedError<ApiType>;1507      /**1508       * The transfering asset amount is zero.1509       **/1510      ZeroAmount: AugmentedError<ApiType>;1511      /**1512       * The fee is zero.1513       **/1514      ZeroFee: AugmentedError<ApiType>;1515      /**1516       * Generic error1517       **/1518      [key: string]: AugmentedError<ApiType>;1519    };1520  } // AugmentedErrors1521} // declare module