git.delta.rocks / unique-network / refs/commits / 1b4b057e352c

difftreelog

source

tests/src/interfaces/augment-api-errors.ts33.2 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    cumulusXcm: {314      /**315       * Generic error316       **/317      [key: string]: AugmentedError<ApiType>;318    };319    dmpQueue: {320      /**321       * The amount of weight given is possibly not enough for executing the message.322       **/323      OverLimit: AugmentedError<ApiType>;324      /**325       * The message index given is unknown.326       **/327      Unknown: AugmentedError<ApiType>;328      /**329       * Generic error330       **/331      [key: string]: AugmentedError<ApiType>;332    };333    ethereum: {334      /**335       * Signature is invalid.336       **/337      InvalidSignature: AugmentedError<ApiType>;338      /**339       * Pre-log is present, therefore transact is not allowed.340       **/341      PreLogExists: AugmentedError<ApiType>;342      /**343       * Generic error344       **/345      [key: string]: AugmentedError<ApiType>;346    };347    evm: {348      /**349       * Not enough balance to perform action350       **/351      BalanceLow: AugmentedError<ApiType>;352      /**353       * Calculating total fee overflowed354       **/355      FeeOverflow: AugmentedError<ApiType>;356      /**357       * Gas limit is too high.358       **/359      GasLimitTooHigh: AugmentedError<ApiType>;360      /**361       * Gas limit is too low.362       **/363      GasLimitTooLow: AugmentedError<ApiType>;364      /**365       * Gas price is too low.366       **/367      GasPriceTooLow: AugmentedError<ApiType>;368      /**369       * Nonce is invalid370       **/371      InvalidNonce: AugmentedError<ApiType>;372      /**373       * Calculating total payment overflowed374       **/375      PaymentOverflow: AugmentedError<ApiType>;376      /**377       * EVM reentrancy378       **/379      Reentrancy: AugmentedError<ApiType>;380      /**381       * EIP-3607,382       **/383      TransactionMustComeFromEOA: AugmentedError<ApiType>;384      /**385       * Undefined error.386       **/387      Undefined: AugmentedError<ApiType>;388      /**389       * Withdraw fee failed390       **/391      WithdrawFailed: AugmentedError<ApiType>;392      /**393       * Generic error394       **/395      [key: string]: AugmentedError<ApiType>;396    };397    evmCoderSubstrate: {398      OutOfFund: AugmentedError<ApiType>;399      OutOfGas: AugmentedError<ApiType>;400      /**401       * Generic error402       **/403      [key: string]: AugmentedError<ApiType>;404    };405    evmContractHelpers: {406      /**407       * No pending sponsor for contract.408       **/409      NoPendingSponsor: AugmentedError<ApiType>;410      /**411       * This method is only executable by contract owner412       **/413      NoPermission: AugmentedError<ApiType>;414      /**415       * Number of methods that sponsored limit is defined for exceeds maximum.416       **/417      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;418      /**419       * Generic error420       **/421      [key: string]: AugmentedError<ApiType>;422    };423    evmMigration: {424      /**425       * Migration of this account is not yet started, or already finished.426       **/427      AccountIsNotMigrating: AugmentedError<ApiType>;428      /**429       * Can only migrate to empty address.430       **/431      AccountNotEmpty: AugmentedError<ApiType>;432      /**433       * Failed to decode event bytes434       **/435      BadEvent: AugmentedError<ApiType>;436      /**437       * Generic error438       **/439      [key: string]: AugmentedError<ApiType>;440    };441    foreignAssets: {442      /**443       * AssetId exists444       **/445      AssetIdExisted: AugmentedError<ApiType>;446      /**447       * AssetId not exists448       **/449      AssetIdNotExists: AugmentedError<ApiType>;450      /**451       * The given location could not be used (e.g. because it cannot be expressed in the452       * desired version of XCM).453       **/454      BadLocation: AugmentedError<ApiType>;455      /**456       * MultiLocation existed457       **/458      MultiLocationExisted: AugmentedError<ApiType>;459      /**460       * Generic error461       **/462      [key: string]: AugmentedError<ApiType>;463    };464    fungible: {465      /**466       * Fungible token does not support nesting.467       **/468      FungibleDisallowsNesting: AugmentedError<ApiType>;469      /**470       * Tried to set data for fungible item.471       **/472      FungibleItemsDontHaveData: AugmentedError<ApiType>;473      /**474       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.475       **/476      FungibleItemsHaveNoId: AugmentedError<ApiType>;477      /**478       * Only a fungible collection could be possibly broken; any fungible token is valid.479       **/480      FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;481      /**482       * Not Fungible item data used to mint in Fungible collection.483       **/484      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;485      /**486       * Setting allowance for all is not allowed.487       **/488      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;489      /**490       * Setting item properties is not allowed.491       **/492      SettingPropertiesNotAllowed: AugmentedError<ApiType>;493      /**494       * Generic error495       **/496      [key: string]: AugmentedError<ApiType>;497    };498    identity: {499      /**500       * Account ID is already named.501       **/502      AlreadyClaimed: AugmentedError<ApiType>;503      /**504       * Empty index.505       **/506      EmptyIndex: AugmentedError<ApiType>;507      /**508       * Fee is changed.509       **/510      FeeChanged: AugmentedError<ApiType>;511      /**512       * The index is invalid.513       **/514      InvalidIndex: AugmentedError<ApiType>;515      /**516       * Invalid judgement.517       **/518      InvalidJudgement: AugmentedError<ApiType>;519      /**520       * The target is invalid.521       **/522      InvalidTarget: AugmentedError<ApiType>;523      /**524       * The provided judgement was for a different identity.525       **/526      JudgementForDifferentIdentity: AugmentedError<ApiType>;527      /**528       * Judgement given.529       **/530      JudgementGiven: AugmentedError<ApiType>;531      /**532       * Error that occurs when there is an issue paying for judgement.533       **/534      JudgementPaymentFailed: AugmentedError<ApiType>;535      /**536       * No identity found.537       **/538      NoIdentity: AugmentedError<ApiType>;539      /**540       * Account isn't found.541       **/542      NotFound: AugmentedError<ApiType>;543      /**544       * Account isn't named.545       **/546      NotNamed: AugmentedError<ApiType>;547      /**548       * Sub-account isn't owned by sender.549       **/550      NotOwned: AugmentedError<ApiType>;551      /**552       * Sender is not a sub-account.553       **/554      NotSub: AugmentedError<ApiType>;555      /**556       * Sticky judgement.557       **/558      StickyJudgement: AugmentedError<ApiType>;559      /**560       * Too many additional fields.561       **/562      TooManyFields: AugmentedError<ApiType>;563      /**564       * Maximum amount of registrars reached. Cannot add any more.565       **/566      TooManyRegistrars: AugmentedError<ApiType>;567      /**568       * Too many subs-accounts.569       **/570      TooManySubAccounts: AugmentedError<ApiType>;571      /**572       * Generic error573       **/574      [key: string]: AugmentedError<ApiType>;575    };576    maintenance: {577      /**578       * Generic error579       **/580      [key: string]: AugmentedError<ApiType>;581    };582    nonfungible: {583      /**584       * Unable to burn NFT with children585       **/586      CantBurnNftWithChildren: AugmentedError<ApiType>;587      /**588       * Used amount > 1 with NFT589       **/590      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;591      /**592       * Not Nonfungible item data used to mint in Nonfungible collection.593       **/594      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;595      /**596       * Generic error597       **/598      [key: string]: AugmentedError<ApiType>;599    };600    parachainSystem: {601      /**602       * The inherent which supplies the host configuration did not run this block.603       **/604      HostConfigurationNotAvailable: AugmentedError<ApiType>;605      /**606       * No code upgrade has been authorized.607       **/608      NothingAuthorized: AugmentedError<ApiType>;609      /**610       * No validation function upgrade is currently scheduled.611       **/612      NotScheduled: AugmentedError<ApiType>;613      /**614       * Attempt to upgrade validation function while existing upgrade pending.615       **/616      OverlappingUpgrades: AugmentedError<ApiType>;617      /**618       * Polkadot currently prohibits this parachain from upgrading its validation function.619       **/620      ProhibitedByPolkadot: AugmentedError<ApiType>;621      /**622       * The supplied validation function has compiled into a blob larger than Polkadot is623       * willing to run.624       **/625      TooBig: AugmentedError<ApiType>;626      /**627       * The given code upgrade has not been authorized.628       **/629      Unauthorized: AugmentedError<ApiType>;630      /**631       * The inherent which supplies the validation data did not run this block.632       **/633      ValidationDataNotAvailable: AugmentedError<ApiType>;634      /**635       * Generic error636       **/637      [key: string]: AugmentedError<ApiType>;638    };639    polkadotXcm: {640      /**641       * The given account is not an identifiable sovereign account for any location.642       **/643      AccountNotSovereign: AugmentedError<ApiType>;644      /**645       * The location is invalid since it already has a subscription from us.646       **/647      AlreadySubscribed: AugmentedError<ApiType>;648      /**649       * The given location could not be used (e.g. because it cannot be expressed in the650       * desired version of XCM).651       **/652      BadLocation: AugmentedError<ApiType>;653      /**654       * The version of the `Versioned` value used is not able to be interpreted.655       **/656      BadVersion: AugmentedError<ApiType>;657      /**658       * Could not re-anchor the assets to declare the fees for the destination chain.659       **/660      CannotReanchor: AugmentedError<ApiType>;661      /**662       * The destination `MultiLocation` provided cannot be inverted.663       **/664      DestinationNotInvertible: AugmentedError<ApiType>;665      /**666       * The assets to be sent are empty.667       **/668      Empty: AugmentedError<ApiType>;669      /**670       * The operation required fees to be paid which the initiator could not meet.671       **/672      FeesNotMet: AugmentedError<ApiType>;673      /**674       * The message execution fails the filter.675       **/676      Filtered: AugmentedError<ApiType>;677      /**678       * The unlock operation cannot succeed because there are still consumers of the lock.679       **/680      InUse: AugmentedError<ApiType>;681      /**682       * Invalid asset for the operation.683       **/684      InvalidAsset: AugmentedError<ApiType>;685      /**686       * Origin is invalid for sending.687       **/688      InvalidOrigin: AugmentedError<ApiType>;689      /**690       * A remote lock with the corresponding data could not be found.691       **/692      LockNotFound: AugmentedError<ApiType>;693      /**694       * The owner does not own (all) of the asset that they wish to do the operation on.695       **/696      LowBalance: AugmentedError<ApiType>;697      /**698       * The referenced subscription could not be found.699       **/700      NoSubscription: AugmentedError<ApiType>;701      /**702       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps703       * a lack of space for buffering the message.704       **/705      SendFailure: AugmentedError<ApiType>;706      /**707       * Too many assets have been attempted for transfer.708       **/709      TooManyAssets: AugmentedError<ApiType>;710      /**711       * The asset owner has too many locks on the asset.712       **/713      TooManyLocks: AugmentedError<ApiType>;714      /**715       * The desired destination was unreachable, generally because there is a no way of routing716       * to it.717       **/718      Unreachable: AugmentedError<ApiType>;719      /**720       * The message's weight could not be determined.721       **/722      UnweighableMessage: AugmentedError<ApiType>;723      /**724       * Generic error725       **/726      [key: string]: AugmentedError<ApiType>;727    };728    preimage: {729      /**730       * Preimage has already been noted on-chain.731       **/732      AlreadyNoted: AugmentedError<ApiType>;733      /**734       * The user is not authorized to perform this action.735       **/736      NotAuthorized: AugmentedError<ApiType>;737      /**738       * The preimage cannot be removed since it has not yet been noted.739       **/740      NotNoted: AugmentedError<ApiType>;741      /**742       * The preimage request cannot be removed since no outstanding requests exist.743       **/744      NotRequested: AugmentedError<ApiType>;745      /**746       * A preimage may not be removed when there are outstanding requests.747       **/748      Requested: AugmentedError<ApiType>;749      /**750       * Preimage is too large to store on-chain.751       **/752      TooBig: AugmentedError<ApiType>;753      /**754       * Generic error755       **/756      [key: string]: AugmentedError<ApiType>;757    };758    refungible: {759      /**760       * Not Refungible item data used to mint in Refungible collection.761       **/762      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;763      /**764       * Refungible token can't nest other tokens.765       **/766      RefungibleDisallowsNesting: AugmentedError<ApiType>;767      /**768       * Refungible token can't be repartitioned by user who isn't owns all pieces.769       **/770      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;771      /**772       * Setting item properties is not allowed.773       **/774      SettingPropertiesNotAllowed: AugmentedError<ApiType>;775      /**776       * Maximum refungibility exceeded.777       **/778      WrongRefungiblePieces: AugmentedError<ApiType>;779      /**780       * Generic error781       **/782      [key: string]: AugmentedError<ApiType>;783    };784    session: {785      /**786       * Registered duplicate key.787       **/788      DuplicatedKey: AugmentedError<ApiType>;789      /**790       * Invalid ownership proof.791       **/792      InvalidProof: AugmentedError<ApiType>;793      /**794       * Key setting account is not live, so it's impossible to associate keys.795       **/796      NoAccount: AugmentedError<ApiType>;797      /**798       * No associated validator ID for account.799       **/800      NoAssociatedValidatorId: AugmentedError<ApiType>;801      /**802       * No keys are associated with this account.803       **/804      NoKeys: AugmentedError<ApiType>;805      /**806       * Generic error807       **/808      [key: string]: AugmentedError<ApiType>;809    };810    stateTrieMigration: {811      /**812       * Bad child root provided.813       **/814      BadChildRoot: AugmentedError<ApiType>;815      /**816       * Bad witness data provided.817       **/818      BadWitness: AugmentedError<ApiType>;819      /**820       * A key was longer than the configured maximum.821       * 822       * This means that the migration halted at the current [`Progress`] and823       * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.824       * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.825       * The value should only be increased to avoid a storage migration for the currently826       * stored [`crate::Progress::LastKey`].827       **/828      KeyTooLong: AugmentedError<ApiType>;829      /**830       * Max signed limits not respected.831       **/832      MaxSignedLimits: AugmentedError<ApiType>;833      /**834       * submitter does not have enough funds.835       **/836      NotEnoughFunds: AugmentedError<ApiType>;837      /**838       * Signed migration is not allowed because the maximum limit is not set yet.839       **/840      SignedMigrationNotAllowed: AugmentedError<ApiType>;841      /**842       * Generic error843       **/844      [key: string]: AugmentedError<ApiType>;845    };846    structure: {847      /**848       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.849       **/850      BreadthLimit: AugmentedError<ApiType>;851      /**852       * Tried to nest token under collection contract address, instead of token address853       **/854      CantNestTokenUnderCollection: AugmentedError<ApiType>;855      /**856       * While nesting, reached the depth limit of nesting, exceeding the provided budget.857       **/858      DepthLimit: AugmentedError<ApiType>;859      /**860       * While nesting, encountered an already checked account, detecting a loop.861       **/862      OuroborosDetected: AugmentedError<ApiType>;863      /**864       * Couldn't find the token owner that is itself a token.865       **/866      TokenNotFound: AugmentedError<ApiType>;867      /**868       * Generic error869       **/870      [key: string]: AugmentedError<ApiType>;871    };872    sudo: {873      /**874       * Sender must be the Sudo account875       **/876      RequireSudo: AugmentedError<ApiType>;877      /**878       * Generic error879       **/880      [key: string]: AugmentedError<ApiType>;881    };882    system: {883      /**884       * The origin filter prevent the call to be dispatched.885       **/886      CallFiltered: AugmentedError<ApiType>;887      /**888       * Failed to extract the runtime version from the new runtime.889       * 890       * Either calling `Core_version` or decoding `RuntimeVersion` failed.891       **/892      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;893      /**894       * The name of specification does not match between the current runtime895       * and the new runtime.896       **/897      InvalidSpecName: AugmentedError<ApiType>;898      /**899       * Suicide called when the account has non-default composite data.900       **/901      NonDefaultComposite: AugmentedError<ApiType>;902      /**903       * There is a non-zero reference count preventing the account from being purged.904       **/905      NonZeroRefCount: AugmentedError<ApiType>;906      /**907       * The specification version is not allowed to decrease between the current runtime908       * and the new runtime.909       **/910      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;911      /**912       * Generic error913       **/914      [key: string]: AugmentedError<ApiType>;915    };916    testUtils: {917      TestPalletDisabled: AugmentedError<ApiType>;918      TriggerRollback: AugmentedError<ApiType>;919      /**920       * Generic error921       **/922      [key: string]: AugmentedError<ApiType>;923    };924    tokens: {925      /**926       * Cannot convert Amount into Balance type927       **/928      AmountIntoBalanceFailed: AugmentedError<ApiType>;929      /**930       * The balance is too low931       **/932      BalanceTooLow: AugmentedError<ApiType>;933      /**934       * Beneficiary account must pre-exist935       **/936      DeadAccount: AugmentedError<ApiType>;937      /**938       * Value too low to create account due to existential deposit939       **/940      ExistentialDeposit: AugmentedError<ApiType>;941      /**942       * Transfer/payment would kill account943       **/944      KeepAlive: AugmentedError<ApiType>;945      /**946       * Failed because liquidity restrictions due to locking947       **/948      LiquidityRestrictions: AugmentedError<ApiType>;949      /**950       * Failed because the maximum locks was exceeded951       **/952      MaxLocksExceeded: AugmentedError<ApiType>;953      TooManyReserves: AugmentedError<ApiType>;954      /**955       * Generic error956       **/957      [key: string]: AugmentedError<ApiType>;958    };959    treasury: {960      /**961       * The spend origin is valid but the amount it is allowed to spend is lower than the962       * amount to be spent.963       **/964      InsufficientPermission: AugmentedError<ApiType>;965      /**966       * Proposer's balance is too low.967       **/968      InsufficientProposersBalance: AugmentedError<ApiType>;969      /**970       * No proposal or bounty at that index.971       **/972      InvalidIndex: AugmentedError<ApiType>;973      /**974       * Proposal has not been approved.975       **/976      ProposalNotApproved: AugmentedError<ApiType>;977      /**978       * Too many approvals in the queue.979       **/980      TooManyApprovals: AugmentedError<ApiType>;981      /**982       * Generic error983       **/984      [key: string]: AugmentedError<ApiType>;985    };986    unique: {987      /**988       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].989       **/990      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;991      /**992       * Length of items properties must be greater than 0.993       **/994      EmptyArgument: AugmentedError<ApiType>;995      /**996       * Repertition is only supported by refungible collection.997       **/998      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;999      /**1000       * Generic error1001       **/1002      [key: string]: AugmentedError<ApiType>;1003    };1004    vesting: {1005      /**1006       * The vested transfer amount is too low1007       **/1008      AmountLow: AugmentedError<ApiType>;1009      /**1010       * Insufficient amount of balance to lock1011       **/1012      InsufficientBalanceToLock: AugmentedError<ApiType>;1013      /**1014       * Failed because the maximum vesting schedules was exceeded1015       **/1016      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;1017      /**1018       * This account have too many vesting schedules1019       **/1020      TooManyVestingSchedules: AugmentedError<ApiType>;1021      /**1022       * Vesting period is zero1023       **/1024      ZeroVestingPeriod: AugmentedError<ApiType>;1025      /**1026       * Number of vests is zero1027       **/1028      ZeroVestingPeriodCount: AugmentedError<ApiType>;1029      /**1030       * Generic error1031       **/1032      [key: string]: AugmentedError<ApiType>;1033    };1034    xcmpQueue: {1035      /**1036       * Bad overweight index.1037       **/1038      BadOverweightIndex: AugmentedError<ApiType>;1039      /**1040       * Bad XCM data.1041       **/1042      BadXcm: AugmentedError<ApiType>;1043      /**1044       * Bad XCM origin.1045       **/1046      BadXcmOrigin: AugmentedError<ApiType>;1047      /**1048       * Failed to send XCM message.1049       **/1050      FailedToSend: AugmentedError<ApiType>;1051      /**1052       * Provided weight is possibly not enough to execute the message.1053       **/1054      WeightOverLimit: AugmentedError<ApiType>;1055      /**1056       * Generic error1057       **/1058      [key: string]: AugmentedError<ApiType>;1059    };1060    xTokens: {1061      /**1062       * Asset has no reserve location.1063       **/1064      AssetHasNoReserve: AugmentedError<ApiType>;1065      /**1066       * The specified index does not exist in a MultiAssets struct.1067       **/1068      AssetIndexNonExistent: AugmentedError<ApiType>;1069      /**1070       * The version of the `Versioned` value used is not able to be1071       * interpreted.1072       **/1073      BadVersion: AugmentedError<ApiType>;1074      /**1075       * Could not re-anchor the assets to declare the fees for the1076       * destination chain.1077       **/1078      CannotReanchor: AugmentedError<ApiType>;1079      /**1080       * The destination `MultiLocation` provided cannot be inverted.1081       **/1082      DestinationNotInvertible: AugmentedError<ApiType>;1083      /**1084       * We tried sending distinct asset and fee but they have different1085       * reserve chains.1086       **/1087      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;1088      /**1089       * Fee is not enough.1090       **/1091      FeeNotEnough: AugmentedError<ApiType>;1092      /**1093       * Could not get ancestry of asset reserve location.1094       **/1095      InvalidAncestry: AugmentedError<ApiType>;1096      /**1097       * The MultiAsset is invalid.1098       **/1099      InvalidAsset: AugmentedError<ApiType>;1100      /**1101       * Invalid transfer destination.1102       **/1103      InvalidDest: AugmentedError<ApiType>;1104      /**1105       * MinXcmFee not registered for certain reserve location1106       **/1107      MinXcmFeeNotDefined: AugmentedError<ApiType>;1108      /**1109       * Not cross-chain transfer.1110       **/1111      NotCrossChainTransfer: AugmentedError<ApiType>;1112      /**1113       * Currency is not cross-chain transferable.1114       **/1115      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;1116      /**1117       * Not supported MultiLocation1118       **/1119      NotSupportedMultiLocation: AugmentedError<ApiType>;1120      /**1121       * The number of assets to be sent is over the maximum.1122       **/1123      TooManyAssetsBeingSent: AugmentedError<ApiType>;1124      /**1125       * The message's weight could not be determined.1126       **/1127      UnweighableMessage: AugmentedError<ApiType>;1128      /**1129       * XCM execution failed.1130       **/1131      XcmExecutionFailed: AugmentedError<ApiType>;1132      /**1133       * The transfering asset amount is zero.1134       **/1135      ZeroAmount: AugmentedError<ApiType>;1136      /**1137       * The fee is zero.1138       **/1139      ZeroFee: AugmentedError<ApiType>;1140      /**1141       * Generic error1142       **/1143      [key: string]: AugmentedError<ApiType>;1144    };1145  } // AugmentedErrors1146} // declare module