git.delta.rocks / unique-network / refs/commits / fb505f1dbf88

difftreelog

source

tests/src/interfaces/augment-api-errors.ts31.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 actions with a locked balance.21       **/22      IncorrectLockedBalanceOperation: 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-exist51       **/52      DeadAccount: AugmentedError<ApiType>;53      /**54       * Value too low to create account due to existential deposit55       **/56      ExistentialDeposit: AugmentedError<ApiType>;57      /**58       * A vesting schedule already exists for this account59       **/60      ExistingVestingSchedule: AugmentedError<ApiType>;61      /**62       * Balance too low to send value.63       **/64      InsufficientBalance: AugmentedError<ApiType>;65      /**66       * Transfer/payment would kill account67       **/68      KeepAlive: AugmentedError<ApiType>;69      /**70       * Account liquidity restrictions prevent withdrawal71       **/72      LiquidityRestrictions: AugmentedError<ApiType>;73      /**74       * Number of named reserves exceed MaxReserves75       **/76      TooManyReserves: AugmentedError<ApiType>;77      /**78       * Vesting balance too high to send value79       **/80      VestingBalance: AugmentedError<ApiType>;81      /**82       * Generic error83       **/84      [key: string]: AugmentedError<ApiType>;85    };86    collatorSelection: {87      /**88       * User is already a candidate89       **/90      AlreadyCandidate: AugmentedError<ApiType>;91      /**92       * User already holds license to collate93       **/94      AlreadyHoldingLicense: AugmentedError<ApiType>;95      /**96       * User is already an Invulnerable97       **/98      AlreadyInvulnerable: AugmentedError<ApiType>;99      /**100       * Account has no associated validator ID101       **/102      NoAssociatedValidatorId: AugmentedError<ApiType>;103      /**104       * User does not hold a license to collate105       **/106      NoLicense: AugmentedError<ApiType>;107      /**108       * User is not a candidate109       **/110      NotCandidate: AugmentedError<ApiType>;111      /**112       * User is not an Invulnerable113       **/114      NotInvulnerable: AugmentedError<ApiType>;115      /**116       * Permission issue117       **/118      Permission: AugmentedError<ApiType>;119      /**120       * Too few invulnerables121       **/122      TooFewInvulnerables: AugmentedError<ApiType>;123      /**124       * Too many candidates125       **/126      TooManyCandidates: AugmentedError<ApiType>;127      /**128       * Too many invulnerables129       **/130      TooManyInvulnerables: AugmentedError<ApiType>;131      /**132       * Unknown error133       **/134      Unknown: AugmentedError<ApiType>;135      /**136       * Validator ID is not yet registered137       **/138      ValidatorNotRegistered: AugmentedError<ApiType>;139      /**140       * Generic error141       **/142      [key: string]: AugmentedError<ApiType>;143    };144    common: {145      /**146       * Account token limit exceeded per collection147       **/148      AccountTokenLimitExceeded: AugmentedError<ApiType>;149      /**150       * Only spending from eth mirror could be approved151       **/152      AddressIsNotEthMirror: AugmentedError<ApiType>;153      /**154       * Can't transfer tokens to ethereum zero address155       **/156      AddressIsZero: AugmentedError<ApiType>;157      /**158       * Address is not in allow list.159       **/160      AddressNotInAllowlist: AugmentedError<ApiType>;161      /**162       * Requested value is more than the approved163       **/164      ApprovedValueTooLow: AugmentedError<ApiType>;165      /**166       * Tried to approve more than owned167       **/168      CantApproveMoreThanOwned: AugmentedError<ApiType>;169      /**170       * Destroying only empty collections is allowed171       **/172      CantDestroyNotEmptyCollection: AugmentedError<ApiType>;173      /**174       * Exceeded max admin count175       **/176      CollectionAdminCountExceeded: AugmentedError<ApiType>;177      /**178       * Collection description can not be longer than 255 char.179       **/180      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;181      /**182       * Tried to store more data than allowed in collection field183       **/184      CollectionFieldSizeExceeded: AugmentedError<ApiType>;185      /**186       * Tried to access an external collection with an internal API187       **/188      CollectionIsExternal: AugmentedError<ApiType>;189      /**190       * Tried to access an internal collection with an external API191       **/192      CollectionIsInternal: AugmentedError<ApiType>;193      /**194       * Collection limit bounds per collection exceeded195       **/196      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;197      /**198       * Collection name can not be longer than 63 char.199       **/200      CollectionNameLimitExceeded: AugmentedError<ApiType>;201      /**202       * This collection does not exist.203       **/204      CollectionNotFound: AugmentedError<ApiType>;205      /**206       * Collection token limit exceeded207       **/208      CollectionTokenLimitExceeded: AugmentedError<ApiType>;209      /**210       * Token prefix can not be longer than 15 char.211       **/212      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;213      /**214       * This address is not set as sponsor, use setCollectionSponsor first.215       **/216      ConfirmSponsorshipFail: AugmentedError<ApiType>;217      /**218       * Empty property keys are forbidden219       **/220      EmptyPropertyKey: AugmentedError<ApiType>;221      /**222       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed223       **/224      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;225      /**226       * Metadata flag frozen227       **/228      MetadataFlagFrozen: AugmentedError<ApiType>;229      /**230       * Sender parameter and item owner must be equal.231       **/232      MustBeTokenOwner: AugmentedError<ApiType>;233      /**234       * No permission to perform action235       **/236      NoPermission: AugmentedError<ApiType>;237      /**238       * Tried to store more property data than allowed239       **/240      NoSpaceForProperty: AugmentedError<ApiType>;241      /**242       * Insufficient funds to perform an action243       **/244      NotSufficientFounds: AugmentedError<ApiType>;245      /**246       * Tried to enable permissions which are only permitted to be disabled247       **/248      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;249      /**250       * Property key is too long251       **/252      PropertyKeyIsTooLong: AugmentedError<ApiType>;253      /**254       * Tried to store more property keys than allowed255       **/256      PropertyLimitReached: AugmentedError<ApiType>;257      /**258       * Collection is not in mint mode.259       **/260      PublicMintingNotAllowed: AugmentedError<ApiType>;261      /**262       * Only tokens from specific collections may nest tokens under this one263       **/264      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;265      /**266       * Item does not exist267       **/268      TokenNotFound: AugmentedError<ApiType>;269      /**270       * Item is balance not enough271       **/272      TokenValueTooLow: AugmentedError<ApiType>;273      /**274       * Total collections bound exceeded.275       **/276      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;277      /**278       * Collection settings not allowing items transferring279       **/280      TransferNotAllowed: AugmentedError<ApiType>;281      /**282       * The operation is not supported283       **/284      UnsupportedOperation: AugmentedError<ApiType>;285      /**286       * User does not satisfy the nesting rule287       **/288      UserIsNotAllowedToNest: AugmentedError<ApiType>;289      /**290       * The user is not an administrator.291       **/292      UserIsNotCollectionAdmin: AugmentedError<ApiType>;293      /**294       * Generic error295       **/296      [key: string]: AugmentedError<ApiType>;297    };298    configuration: {299      InconsistentConfiguration: AugmentedError<ApiType>;300      /**301       * Generic error302       **/303      [key: string]: AugmentedError<ApiType>;304    };305    cumulusXcm: {306      /**307       * Generic error308       **/309      [key: string]: AugmentedError<ApiType>;310    };311    dmpQueue: {312      /**313       * The amount of weight given is possibly not enough for executing the message.314       **/315      OverLimit: AugmentedError<ApiType>;316      /**317       * The message index given is unknown.318       **/319      Unknown: AugmentedError<ApiType>;320      /**321       * Generic error322       **/323      [key: string]: AugmentedError<ApiType>;324    };325    ethereum: {326      /**327       * Signature is invalid.328       **/329      InvalidSignature: AugmentedError<ApiType>;330      /**331       * Pre-log is present, therefore transact is not allowed.332       **/333      PreLogExists: AugmentedError<ApiType>;334      /**335       * Generic error336       **/337      [key: string]: AugmentedError<ApiType>;338    };339    evm: {340      /**341       * Not enough balance to perform action342       **/343      BalanceLow: AugmentedError<ApiType>;344      /**345       * Calculating total fee overflowed346       **/347      FeeOverflow: AugmentedError<ApiType>;348      /**349       * Gas limit is too high.350       **/351      GasLimitTooHigh: AugmentedError<ApiType>;352      /**353       * Gas limit is too low.354       **/355      GasLimitTooLow: AugmentedError<ApiType>;356      /**357       * Gas price is too low.358       **/359      GasPriceTooLow: AugmentedError<ApiType>;360      /**361       * Nonce is invalid362       **/363      InvalidNonce: AugmentedError<ApiType>;364      /**365       * Calculating total payment overflowed366       **/367      PaymentOverflow: AugmentedError<ApiType>;368      /**369       * EVM reentrancy370       **/371      Reentrancy: AugmentedError<ApiType>;372      /**373       * EIP-3607,374       **/375      TransactionMustComeFromEOA: AugmentedError<ApiType>;376      /**377       * Undefined error.378       **/379      Undefined: AugmentedError<ApiType>;380      /**381       * Withdraw fee failed382       **/383      WithdrawFailed: AugmentedError<ApiType>;384      /**385       * Generic error386       **/387      [key: string]: AugmentedError<ApiType>;388    };389    evmCoderSubstrate: {390      OutOfFund: AugmentedError<ApiType>;391      OutOfGas: AugmentedError<ApiType>;392      /**393       * Generic error394       **/395      [key: string]: AugmentedError<ApiType>;396    };397    evmContractHelpers: {398      /**399       * No pending sponsor for contract.400       **/401      NoPendingSponsor: AugmentedError<ApiType>;402      /**403       * This method is only executable by contract owner404       **/405      NoPermission: AugmentedError<ApiType>;406      /**407       * Number of methods that sponsored limit is defined for exceeds maximum.408       **/409      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;410      /**411       * Generic error412       **/413      [key: string]: AugmentedError<ApiType>;414    };415    evmMigration: {416      /**417       * Migration of this account is not yet started, or already finished.418       **/419      AccountIsNotMigrating: AugmentedError<ApiType>;420      /**421       * Can only migrate to empty address.422       **/423      AccountNotEmpty: AugmentedError<ApiType>;424      /**425       * Failed to decode event bytes426       **/427      BadEvent: AugmentedError<ApiType>;428      /**429       * Generic error430       **/431      [key: string]: AugmentedError<ApiType>;432    };433    foreignAssets: {434      /**435       * AssetId exists436       **/437      AssetIdExisted: AugmentedError<ApiType>;438      /**439       * AssetId not exists440       **/441      AssetIdNotExists: AugmentedError<ApiType>;442      /**443       * The given location could not be used (e.g. because it cannot be expressed in the444       * desired version of XCM).445       **/446      BadLocation: AugmentedError<ApiType>;447      /**448       * MultiLocation existed449       **/450      MultiLocationExisted: AugmentedError<ApiType>;451      /**452       * Generic error453       **/454      [key: string]: AugmentedError<ApiType>;455    };456    fungible: {457      /**458       * Fungible token does not support nesting.459       **/460      FungibleDisallowsNesting: AugmentedError<ApiType>;461      /**462       * Tried to set data for fungible item.463       **/464      FungibleItemsDontHaveData: AugmentedError<ApiType>;465      /**466       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.467       **/468      FungibleItemsHaveNoId: AugmentedError<ApiType>;469      /**470       * Only a fungible collection could be possibly broken; any fungible token is valid.471       **/472      FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;473      /**474       * Not Fungible item data used to mint in Fungible collection.475       **/476      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;477      /**478       * Setting allowance for all is not allowed.479       **/480      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;481      /**482       * Setting item properties is not allowed.483       **/484      SettingPropertiesNotAllowed: AugmentedError<ApiType>;485      /**486       * Generic error487       **/488      [key: string]: AugmentedError<ApiType>;489    };490    identity: {491      /**492       * Account ID is already named.493       **/494      AlreadyClaimed: AugmentedError<ApiType>;495      /**496       * Empty index.497       **/498      EmptyIndex: AugmentedError<ApiType>;499      /**500       * Fee is changed.501       **/502      FeeChanged: AugmentedError<ApiType>;503      /**504       * The index is invalid.505       **/506      InvalidIndex: AugmentedError<ApiType>;507      /**508       * Invalid judgement.509       **/510      InvalidJudgement: AugmentedError<ApiType>;511      /**512       * The target is invalid.513       **/514      InvalidTarget: AugmentedError<ApiType>;515      /**516       * The provided judgement was for a different identity.517       **/518      JudgementForDifferentIdentity: AugmentedError<ApiType>;519      /**520       * Judgement given.521       **/522      JudgementGiven: AugmentedError<ApiType>;523      /**524       * Error that occurs when there is an issue paying for judgement.525       **/526      JudgementPaymentFailed: AugmentedError<ApiType>;527      /**528       * No identity found.529       **/530      NoIdentity: AugmentedError<ApiType>;531      /**532       * Account isn't found.533       **/534      NotFound: AugmentedError<ApiType>;535      /**536       * Account isn't named.537       **/538      NotNamed: AugmentedError<ApiType>;539      /**540       * Sub-account isn't owned by sender.541       **/542      NotOwned: AugmentedError<ApiType>;543      /**544       * Sender is not a sub-account.545       **/546      NotSub: AugmentedError<ApiType>;547      /**548       * Sticky judgement.549       **/550      StickyJudgement: AugmentedError<ApiType>;551      /**552       * Too many additional fields.553       **/554      TooManyFields: AugmentedError<ApiType>;555      /**556       * Maximum amount of registrars reached. Cannot add any more.557       **/558      TooManyRegistrars: AugmentedError<ApiType>;559      /**560       * Too many subs-accounts.561       **/562      TooManySubAccounts: AugmentedError<ApiType>;563      /**564       * Generic error565       **/566      [key: string]: AugmentedError<ApiType>;567    };568    maintenance: {569      /**570       * Generic error571       **/572      [key: string]: AugmentedError<ApiType>;573    };574    nonfungible: {575      /**576       * Unable to burn NFT with children577       **/578      CantBurnNftWithChildren: AugmentedError<ApiType>;579      /**580       * Used amount > 1 with NFT581       **/582      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;583      /**584       * Not Nonfungible item data used to mint in Nonfungible collection.585       **/586      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;587      /**588       * Generic error589       **/590      [key: string]: AugmentedError<ApiType>;591    };592    parachainSystem: {593      /**594       * The inherent which supplies the host configuration did not run this block595       **/596      HostConfigurationNotAvailable: AugmentedError<ApiType>;597      /**598       * No code upgrade has been authorized.599       **/600      NothingAuthorized: AugmentedError<ApiType>;601      /**602       * No validation function upgrade is currently scheduled.603       **/604      NotScheduled: AugmentedError<ApiType>;605      /**606       * Attempt to upgrade validation function while existing upgrade pending607       **/608      OverlappingUpgrades: AugmentedError<ApiType>;609      /**610       * Polkadot currently prohibits this parachain from upgrading its validation function611       **/612      ProhibitedByPolkadot: AugmentedError<ApiType>;613      /**614       * The supplied validation function has compiled into a blob larger than Polkadot is615       * willing to run616       **/617      TooBig: AugmentedError<ApiType>;618      /**619       * The given code upgrade has not been authorized.620       **/621      Unauthorized: AugmentedError<ApiType>;622      /**623       * The inherent which supplies the validation data did not run this block624       **/625      ValidationDataNotAvailable: AugmentedError<ApiType>;626      /**627       * Generic error628       **/629      [key: string]: AugmentedError<ApiType>;630    };631    polkadotXcm: {632      /**633       * The given account is not an identifiable sovereign account for any location.634       **/635      AccountNotSovereign: AugmentedError<ApiType>;636      /**637       * The location is invalid since it already has a subscription from us.638       **/639      AlreadySubscribed: AugmentedError<ApiType>;640      /**641       * The given location could not be used (e.g. because it cannot be expressed in the642       * desired version of XCM).643       **/644      BadLocation: AugmentedError<ApiType>;645      /**646       * The version of the `Versioned` value used is not able to be interpreted.647       **/648      BadVersion: AugmentedError<ApiType>;649      /**650       * Could not re-anchor the assets to declare the fees for the destination chain.651       **/652      CannotReanchor: AugmentedError<ApiType>;653      /**654       * The destination `MultiLocation` provided cannot be inverted.655       **/656      DestinationNotInvertible: AugmentedError<ApiType>;657      /**658       * The assets to be sent are empty.659       **/660      Empty: AugmentedError<ApiType>;661      /**662       * The operation required fees to be paid which the initiator could not meet.663       **/664      FeesNotMet: AugmentedError<ApiType>;665      /**666       * The message execution fails the filter.667       **/668      Filtered: AugmentedError<ApiType>;669      /**670       * The unlock operation cannot succeed because there are still users of the lock.671       **/672      InUse: AugmentedError<ApiType>;673      /**674       * Invalid asset for the operation.675       **/676      InvalidAsset: AugmentedError<ApiType>;677      /**678       * Origin is invalid for sending.679       **/680      InvalidOrigin: AugmentedError<ApiType>;681      /**682       * A remote lock with the corresponding data could not be found.683       **/684      LockNotFound: AugmentedError<ApiType>;685      /**686       * The owner does not own (all) of the asset that they wish to do the operation on.687       **/688      LowBalance: AugmentedError<ApiType>;689      /**690       * The referenced subscription could not be found.691       **/692      NoSubscription: AugmentedError<ApiType>;693      /**694       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps695       * a lack of space for buffering the message.696       **/697      SendFailure: AugmentedError<ApiType>;698      /**699       * Too many assets have been attempted for transfer.700       **/701      TooManyAssets: AugmentedError<ApiType>;702      /**703       * The asset owner has too many locks on the asset.704       **/705      TooManyLocks: AugmentedError<ApiType>;706      /**707       * The desired destination was unreachable, generally because there is a no way of routing708       * to it.709       **/710      Unreachable: AugmentedError<ApiType>;711      /**712       * The message's weight could not be determined.713       **/714      UnweighableMessage: AugmentedError<ApiType>;715      /**716       * Generic error717       **/718      [key: string]: AugmentedError<ApiType>;719    };720    preimage: {721      /**722       * Preimage has already been noted on-chain.723       **/724      AlreadyNoted: AugmentedError<ApiType>;725      /**726       * The user is not authorized to perform this action.727       **/728      NotAuthorized: AugmentedError<ApiType>;729      /**730       * The preimage cannot be removed since it has not yet been noted.731       **/732      NotNoted: AugmentedError<ApiType>;733      /**734       * The preimage request cannot be removed since no outstanding requests exist.735       **/736      NotRequested: AugmentedError<ApiType>;737      /**738       * A preimage may not be removed when there are outstanding requests.739       **/740      Requested: AugmentedError<ApiType>;741      /**742       * Preimage is too large to store on-chain.743       **/744      TooBig: AugmentedError<ApiType>;745      /**746       * Generic error747       **/748      [key: string]: AugmentedError<ApiType>;749    };750    refungible: {751      /**752       * Not Refungible item data used to mint in Refungible collection.753       **/754      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;755      /**756       * Refungible token can't nest other tokens.757       **/758      RefungibleDisallowsNesting: AugmentedError<ApiType>;759      /**760       * Refungible token can't be repartitioned by user who isn't owns all pieces.761       **/762      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;763      /**764       * Setting item properties is not allowed.765       **/766      SettingPropertiesNotAllowed: AugmentedError<ApiType>;767      /**768       * Maximum refungibility exceeded.769       **/770      WrongRefungiblePieces: AugmentedError<ApiType>;771      /**772       * Generic error773       **/774      [key: string]: AugmentedError<ApiType>;775    };776    session: {777      /**778       * Registered duplicate key.779       **/780      DuplicatedKey: AugmentedError<ApiType>;781      /**782       * Invalid ownership proof.783       **/784      InvalidProof: AugmentedError<ApiType>;785      /**786       * Key setting account is not live, so it's impossible to associate keys.787       **/788      NoAccount: AugmentedError<ApiType>;789      /**790       * No associated validator ID for account.791       **/792      NoAssociatedValidatorId: AugmentedError<ApiType>;793      /**794       * No keys are associated with this account.795       **/796      NoKeys: AugmentedError<ApiType>;797      /**798       * Generic error799       **/800      [key: string]: AugmentedError<ApiType>;801    };802    structure: {803      /**804       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.805       **/806      BreadthLimit: AugmentedError<ApiType>;807      /**808       * Tried to nest token under collection contract address, instead of token address809       **/810      CantNestTokenUnderCollection: AugmentedError<ApiType>;811      /**812       * While nesting, reached the depth limit of nesting, exceeding the provided budget.813       **/814      DepthLimit: AugmentedError<ApiType>;815      /**816       * While nesting, encountered an already checked account, detecting a loop.817       **/818      OuroborosDetected: AugmentedError<ApiType>;819      /**820       * Couldn't find the token owner that is itself a token.821       **/822      TokenNotFound: AugmentedError<ApiType>;823      /**824       * Generic error825       **/826      [key: string]: AugmentedError<ApiType>;827    };828    sudo: {829      /**830       * Sender must be the Sudo account831       **/832      RequireSudo: AugmentedError<ApiType>;833      /**834       * Generic error835       **/836      [key: string]: AugmentedError<ApiType>;837    };838    system: {839      /**840       * The origin filter prevent the call to be dispatched.841       **/842      CallFiltered: AugmentedError<ApiType>;843      /**844       * Failed to extract the runtime version from the new runtime.845       * 846       * Either calling `Core_version` or decoding `RuntimeVersion` failed.847       **/848      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;849      /**850       * The name of specification does not match between the current runtime851       * and the new runtime.852       **/853      InvalidSpecName: AugmentedError<ApiType>;854      /**855       * Suicide called when the account has non-default composite data.856       **/857      NonDefaultComposite: AugmentedError<ApiType>;858      /**859       * There is a non-zero reference count preventing the account from being purged.860       **/861      NonZeroRefCount: AugmentedError<ApiType>;862      /**863       * The specification version is not allowed to decrease between the current runtime864       * and the new runtime.865       **/866      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;867      /**868       * Generic error869       **/870      [key: string]: AugmentedError<ApiType>;871    };872    testUtils: {873      TestPalletDisabled: AugmentedError<ApiType>;874      TriggerRollback: AugmentedError<ApiType>;875      /**876       * Generic error877       **/878      [key: string]: AugmentedError<ApiType>;879    };880    tokens: {881      /**882       * Cannot convert Amount into Balance type883       **/884      AmountIntoBalanceFailed: AugmentedError<ApiType>;885      /**886       * The balance is too low887       **/888      BalanceTooLow: AugmentedError<ApiType>;889      /**890       * Beneficiary account must pre-exist891       **/892      DeadAccount: AugmentedError<ApiType>;893      /**894       * Value too low to create account due to existential deposit895       **/896      ExistentialDeposit: AugmentedError<ApiType>;897      /**898       * Transfer/payment would kill account899       **/900      KeepAlive: AugmentedError<ApiType>;901      /**902       * Failed because liquidity restrictions due to locking903       **/904      LiquidityRestrictions: AugmentedError<ApiType>;905      /**906       * Failed because the maximum locks was exceeded907       **/908      MaxLocksExceeded: AugmentedError<ApiType>;909      TooManyReserves: AugmentedError<ApiType>;910      /**911       * Generic error912       **/913      [key: string]: AugmentedError<ApiType>;914    };915    treasury: {916      /**917       * The spend origin is valid but the amount it is allowed to spend is lower than the918       * amount to be spent.919       **/920      InsufficientPermission: AugmentedError<ApiType>;921      /**922       * Proposer's balance is too low.923       **/924      InsufficientProposersBalance: AugmentedError<ApiType>;925      /**926       * No proposal or bounty at that index.927       **/928      InvalidIndex: AugmentedError<ApiType>;929      /**930       * Proposal has not been approved.931       **/932      ProposalNotApproved: AugmentedError<ApiType>;933      /**934       * Too many approvals in the queue.935       **/936      TooManyApprovals: AugmentedError<ApiType>;937      /**938       * Generic error939       **/940      [key: string]: AugmentedError<ApiType>;941    };942    unique: {943      /**944       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].945       **/946      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;947      /**948       * Length of items properties must be greater than 0.949       **/950      EmptyArgument: AugmentedError<ApiType>;951      /**952       * Repertition is only supported by refungible collection.953       **/954      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;955      /**956       * Generic error957       **/958      [key: string]: AugmentedError<ApiType>;959    };960    vesting: {961      /**962       * The vested transfer amount is too low963       **/964      AmountLow: AugmentedError<ApiType>;965      /**966       * Insufficient amount of balance to lock967       **/968      InsufficientBalanceToLock: AugmentedError<ApiType>;969      /**970       * Failed because the maximum vesting schedules was exceeded971       **/972      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;973      /**974       * This account have too many vesting schedules975       **/976      TooManyVestingSchedules: AugmentedError<ApiType>;977      /**978       * Vesting period is zero979       **/980      ZeroVestingPeriod: AugmentedError<ApiType>;981      /**982       * Number of vests is zero983       **/984      ZeroVestingPeriodCount: AugmentedError<ApiType>;985      /**986       * Generic error987       **/988      [key: string]: AugmentedError<ApiType>;989    };990    xcmpQueue: {991      /**992       * Bad overweight index.993       **/994      BadOverweightIndex: AugmentedError<ApiType>;995      /**996       * Bad XCM data.997       **/998      BadXcm: AugmentedError<ApiType>;999      /**1000       * Bad XCM origin.1001       **/1002      BadXcmOrigin: AugmentedError<ApiType>;1003      /**1004       * Failed to send XCM message.1005       **/1006      FailedToSend: AugmentedError<ApiType>;1007      /**1008       * Provided weight is possibly not enough to execute the message.1009       **/1010      WeightOverLimit: AugmentedError<ApiType>;1011      /**1012       * Generic error1013       **/1014      [key: string]: AugmentedError<ApiType>;1015    };1016    xTokens: {1017      /**1018       * Asset has no reserve location.1019       **/1020      AssetHasNoReserve: AugmentedError<ApiType>;1021      /**1022       * The specified index does not exist in a MultiAssets struct.1023       **/1024      AssetIndexNonExistent: AugmentedError<ApiType>;1025      /**1026       * The version of the `Versioned` value used is not able to be1027       * interpreted.1028       **/1029      BadVersion: AugmentedError<ApiType>;1030      /**1031       * Could not re-anchor the assets to declare the fees for the1032       * destination chain.1033       **/1034      CannotReanchor: AugmentedError<ApiType>;1035      /**1036       * The destination `MultiLocation` provided cannot be inverted.1037       **/1038      DestinationNotInvertible: AugmentedError<ApiType>;1039      /**1040       * We tried sending distinct asset and fee but they have different1041       * reserve chains.1042       **/1043      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;1044      /**1045       * Fee is not enough.1046       **/1047      FeeNotEnough: AugmentedError<ApiType>;1048      /**1049       * Could not get ancestry of asset reserve location.1050       **/1051      InvalidAncestry: AugmentedError<ApiType>;1052      /**1053       * The MultiAsset is invalid.1054       **/1055      InvalidAsset: AugmentedError<ApiType>;1056      /**1057       * Invalid transfer destination.1058       **/1059      InvalidDest: AugmentedError<ApiType>;1060      /**1061       * MinXcmFee not registered for certain reserve location1062       **/1063      MinXcmFeeNotDefined: AugmentedError<ApiType>;1064      /**1065       * Not cross-chain transfer.1066       **/1067      NotCrossChainTransfer: AugmentedError<ApiType>;1068      /**1069       * Currency is not cross-chain transferable.1070       **/1071      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;1072      /**1073       * Not supported MultiLocation1074       **/1075      NotSupportedMultiLocation: AugmentedError<ApiType>;1076      /**1077       * The number of assets to be sent is over the maximum.1078       **/1079      TooManyAssetsBeingSent: AugmentedError<ApiType>;1080      /**1081       * The message's weight could not be determined.1082       **/1083      UnweighableMessage: AugmentedError<ApiType>;1084      /**1085       * XCM execution failed.1086       **/1087      XcmExecutionFailed: AugmentedError<ApiType>;1088      /**1089       * The transfering asset amount is zero.1090       **/1091      ZeroAmount: AugmentedError<ApiType>;1092      /**1093       * The fee is zero.1094       **/1095      ZeroFee: AugmentedError<ApiType>;1096      /**1097       * Generic error1098       **/1099      [key: string]: AugmentedError<ApiType>;1100    };1101  } // AugmentedErrors1102} // declare module