git.delta.rocks / unique-network / refs/commits / 70abe578b643

difftreelog

source

tests/src/interfaces/augment-api-errors.ts32.5 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       * No permission to perform an action.25       **/26      NoPermission: AugmentedError<ApiType>;27      /**28       * Insufficient funds to perform an action.29       **/30      NotSufficientFunds: AugmentedError<ApiType>;31      /**32       * Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded.33       **/34      PendingForBlockOverflow: AugmentedError<ApiType>;35      /**36       * The error is due to the fact that the collection/contract must already be sponsored in order to perform the action.37       **/38      SponsorNotSet: AugmentedError<ApiType>;39      /**40       * Generic error41       **/42      [key: string]: AugmentedError<ApiType>;43    };44    authorship: {45      /**46       * The uncle is genesis.47       **/48      GenesisUncle: AugmentedError<ApiType>;49      /**50       * The uncle parent not in the chain.51       **/52      InvalidUncleParent: AugmentedError<ApiType>;53      /**54       * The uncle isn't recent enough to be included.55       **/56      OldUncle: AugmentedError<ApiType>;57      /**58       * The uncle is too high in chain.59       **/60      TooHighUncle: AugmentedError<ApiType>;61      /**62       * Too many uncles.63       **/64      TooManyUncles: AugmentedError<ApiType>;65      /**66       * The uncle is already included.67       **/68      UncleAlreadyIncluded: AugmentedError<ApiType>;69      /**70       * Uncles already set in the block.71       **/72      UnclesAlreadySet: AugmentedError<ApiType>;73      /**74       * Generic error75       **/76      [key: string]: AugmentedError<ApiType>;77    };78    balances: {79      /**80       * Beneficiary account must pre-exist81       **/82      DeadAccount: AugmentedError<ApiType>;83      /**84       * Value too low to create account due to existential deposit85       **/86      ExistentialDeposit: AugmentedError<ApiType>;87      /**88       * A vesting schedule already exists for this account89       **/90      ExistingVestingSchedule: AugmentedError<ApiType>;91      /**92       * Balance too low to send value.93       **/94      InsufficientBalance: AugmentedError<ApiType>;95      /**96       * Transfer/payment would kill account97       **/98      KeepAlive: AugmentedError<ApiType>;99      /**100       * Account liquidity restrictions prevent withdrawal101       **/102      LiquidityRestrictions: AugmentedError<ApiType>;103      /**104       * Number of named reserves exceed MaxReserves105       **/106      TooManyReserves: AugmentedError<ApiType>;107      /**108       * Vesting balance too high to send value109       **/110      VestingBalance: AugmentedError<ApiType>;111      /**112       * Generic error113       **/114      [key: string]: AugmentedError<ApiType>;115    };116    collatorSelection: {117      /**118       * User is already a candidate119       **/120      AlreadyCandidate: AugmentedError<ApiType>;121      /**122       * User already holds license to collate123       **/124      AlreadyHoldingLicense: AugmentedError<ApiType>;125      /**126       * User is already an Invulnerable127       **/128      AlreadyInvulnerable: AugmentedError<ApiType>;129      /**130       * Account has no associated validator ID131       **/132      NoAssociatedValidatorId: AugmentedError<ApiType>;133      /**134       * User does not hold a license to collate135       **/136      NoLicense: AugmentedError<ApiType>;137      /**138       * User is not a candidate139       **/140      NotCandidate: AugmentedError<ApiType>;141      /**142       * User is not an Invulnerable143       **/144      NotInvulnerable: AugmentedError<ApiType>;145      /**146       * Permission issue147       **/148      Permission: AugmentedError<ApiType>;149      /**150       * Too few invulnerables151       **/152      TooFewInvulnerables: AugmentedError<ApiType>;153      /**154       * Too many candidates155       **/156      TooManyCandidates: AugmentedError<ApiType>;157      /**158       * Too many invulnerables159       **/160      TooManyInvulnerables: AugmentedError<ApiType>;161      /**162       * Unknown error163       **/164      Unknown: AugmentedError<ApiType>;165      /**166       * Validator ID is not yet registered167       **/168      ValidatorNotRegistered: AugmentedError<ApiType>;169      /**170       * Generic error171       **/172      [key: string]: AugmentedError<ApiType>;173    };174    common: {175      /**176       * Account token limit exceeded per collection177       **/178      AccountTokenLimitExceeded: AugmentedError<ApiType>;179      /**180       * Can't transfer tokens to ethereum zero address181       **/182      AddressIsZero: AugmentedError<ApiType>;183      /**184       * Address is not in allow list.185       **/186      AddressNotInAllowlist: AugmentedError<ApiType>;187      /**188       * Requested value is more than the approved189       **/190      ApprovedValueTooLow: AugmentedError<ApiType>;191      /**192       * Tried to approve more than owned193       **/194      CantApproveMoreThanOwned: AugmentedError<ApiType>;195      /**196       * Destroying only empty collections is allowed197       **/198      CantDestroyNotEmptyCollection: AugmentedError<ApiType>;199      /**200       * Exceeded max admin count201       **/202      CollectionAdminCountExceeded: AugmentedError<ApiType>;203      /**204       * Collection description can not be longer than 255 char.205       **/206      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;207      /**208       * Tried to store more data than allowed in collection field209       **/210      CollectionFieldSizeExceeded: AugmentedError<ApiType>;211      /**212       * Tried to access an external collection with an internal API213       **/214      CollectionIsExternal: AugmentedError<ApiType>;215      /**216       * Tried to access an internal collection with an external API217       **/218      CollectionIsInternal: AugmentedError<ApiType>;219      /**220       * Collection limit bounds per collection exceeded221       **/222      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;223      /**224       * Collection name can not be longer than 63 char.225       **/226      CollectionNameLimitExceeded: AugmentedError<ApiType>;227      /**228       * This collection does not exist.229       **/230      CollectionNotFound: AugmentedError<ApiType>;231      /**232       * Collection token limit exceeded233       **/234      CollectionTokenLimitExceeded: AugmentedError<ApiType>;235      /**236       * Token prefix can not be longer than 15 char.237       **/238      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;239      /**240       * This address is not set as sponsor, use setCollectionSponsor first.241       **/242      ConfirmSponsorshipFail: AugmentedError<ApiType>;243      /**244       * Empty property keys are forbidden245       **/246      EmptyPropertyKey: AugmentedError<ApiType>;247      /**248       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed249       **/250      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;251      /**252       * Metadata flag frozen253       **/254      MetadataFlagFrozen: AugmentedError<ApiType>;255      /**256       * Sender parameter and item owner must be equal.257       **/258      MustBeTokenOwner: AugmentedError<ApiType>;259      /**260       * No permission to perform action261       **/262      NoPermission: AugmentedError<ApiType>;263      /**264       * Tried to store more property data than allowed265       **/266      NoSpaceForProperty: AugmentedError<ApiType>;267      /**268       * Insufficient funds to perform an action269       **/270      NotSufficientFounds: AugmentedError<ApiType>;271      /**272       * Tried to enable permissions which are only permitted to be disabled273       **/274      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;275      /**276       * Property key is too long277       **/278      PropertyKeyIsTooLong: AugmentedError<ApiType>;279      /**280       * Tried to store more property keys than allowed281       **/282      PropertyLimitReached: AugmentedError<ApiType>;283      /**284       * Collection is not in mint mode.285       **/286      PublicMintingNotAllowed: AugmentedError<ApiType>;287      /**288       * Only tokens from specific collections may nest tokens under this one289       **/290      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;291      /**292       * Item does not exist293       **/294      TokenNotFound: AugmentedError<ApiType>;295      /**296       * Item is balance not enough297       **/298      TokenValueTooLow: AugmentedError<ApiType>;299      /**300       * Total collections bound exceeded.301       **/302      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;303      /**304       * Collection settings not allowing items transferring305       **/306      TransferNotAllowed: AugmentedError<ApiType>;307      /**308       * The operation is not supported309       **/310      UnsupportedOperation: AugmentedError<ApiType>;311      /**312       * User does not satisfy the nesting rule313       **/314      UserIsNotAllowedToNest: AugmentedError<ApiType>;315      /**316       * The user is not an administrator.317       **/318      UserIsNotCollectionAdmin: AugmentedError<ApiType>;319      /**320       * Generic error321       **/322      [key: string]: AugmentedError<ApiType>;323    };324    configuration: {325      InconsistentConfiguration: AugmentedError<ApiType>;326      /**327       * Generic error328       **/329      [key: string]: AugmentedError<ApiType>;330    };331    cumulusXcm: {332      /**333       * Generic error334       **/335      [key: string]: AugmentedError<ApiType>;336    };337    dmpQueue: {338      /**339       * The amount of weight given is possibly not enough for executing the message.340       **/341      OverLimit: AugmentedError<ApiType>;342      /**343       * The message index given is unknown.344       **/345      Unknown: AugmentedError<ApiType>;346      /**347       * Generic error348       **/349      [key: string]: AugmentedError<ApiType>;350    };351    ethereum: {352      /**353       * Signature is invalid.354       **/355      InvalidSignature: AugmentedError<ApiType>;356      /**357       * Pre-log is present, therefore transact is not allowed.358       **/359      PreLogExists: AugmentedError<ApiType>;360      /**361       * Generic error362       **/363      [key: string]: AugmentedError<ApiType>;364    };365    evm: {366      /**367       * Not enough balance to perform action368       **/369      BalanceLow: AugmentedError<ApiType>;370      /**371       * Calculating total fee overflowed372       **/373      FeeOverflow: AugmentedError<ApiType>;374      /**375       * Gas limit is too high.376       **/377      GasLimitTooHigh: AugmentedError<ApiType>;378      /**379       * Gas limit is too low.380       **/381      GasLimitTooLow: AugmentedError<ApiType>;382      /**383       * Gas price is too low.384       **/385      GasPriceTooLow: AugmentedError<ApiType>;386      /**387       * Nonce is invalid388       **/389      InvalidNonce: AugmentedError<ApiType>;390      /**391       * Calculating total payment overflowed392       **/393      PaymentOverflow: AugmentedError<ApiType>;394      /**395       * EVM reentrancy396       **/397      Reentrancy: AugmentedError<ApiType>;398      /**399       * Undefined error.400       **/401      Undefined: AugmentedError<ApiType>;402      /**403       * Withdraw fee failed404       **/405      WithdrawFailed: AugmentedError<ApiType>;406      /**407       * Generic error408       **/409      [key: string]: AugmentedError<ApiType>;410    };411    evmCoderSubstrate: {412      OutOfFund: AugmentedError<ApiType>;413      OutOfGas: AugmentedError<ApiType>;414      /**415       * Generic error416       **/417      [key: string]: AugmentedError<ApiType>;418    };419    evmContractHelpers: {420      /**421       * No pending sponsor for contract.422       **/423      NoPendingSponsor: AugmentedError<ApiType>;424      /**425       * This method is only executable by contract owner426       **/427      NoPermission: AugmentedError<ApiType>;428      /**429       * Number of methods that sponsored limit is defined for exceeds maximum.430       **/431      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;432      /**433       * Generic error434       **/435      [key: string]: AugmentedError<ApiType>;436    };437    evmMigration: {438      /**439       * Migration of this account is not yet started, or already finished.440       **/441      AccountIsNotMigrating: AugmentedError<ApiType>;442      /**443       * Can only migrate to empty address.444       **/445      AccountNotEmpty: AugmentedError<ApiType>;446      /**447       * Failed to decode event bytes448       **/449      BadEvent: AugmentedError<ApiType>;450      /**451       * Generic error452       **/453      [key: string]: AugmentedError<ApiType>;454    };455    foreignAssets: {456      /**457       * AssetId exists458       **/459      AssetIdExisted: AugmentedError<ApiType>;460      /**461       * AssetId not exists462       **/463      AssetIdNotExists: AugmentedError<ApiType>;464      /**465       * The given location could not be used (e.g. because it cannot be expressed in the466       * desired version of XCM).467       **/468      BadLocation: AugmentedError<ApiType>;469      /**470       * MultiLocation existed471       **/472      MultiLocationExisted: AugmentedError<ApiType>;473      /**474       * Generic error475       **/476      [key: string]: AugmentedError<ApiType>;477    };478    fungible: {479      /**480       * Fungible token does not support nesting.481       **/482      FungibleDisallowsNesting: AugmentedError<ApiType>;483      /**484       * Tried to set data for fungible item.485       **/486      FungibleItemsDontHaveData: AugmentedError<ApiType>;487      /**488       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.489       **/490      FungibleItemsHaveNoId: AugmentedError<ApiType>;491      /**492       * Only a fungible collection could be possibly broken; any fungible token is valid.493       **/494      FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;495      /**496       * Not Fungible item data used to mint in Fungible collection.497       **/498      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;499      /**500       * Setting allowance for all is not allowed.501       **/502      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;503      /**504       * Setting item properties is not allowed.505       **/506      SettingPropertiesNotAllowed: AugmentedError<ApiType>;507      /**508       * Generic error509       **/510      [key: string]: AugmentedError<ApiType>;511    };512    maintenance: {513      /**514       * Generic error515       **/516      [key: string]: AugmentedError<ApiType>;517    };518    nonfungible: {519      /**520       * Unable to burn NFT with children521       **/522      CantBurnNftWithChildren: AugmentedError<ApiType>;523      /**524       * Used amount > 1 with NFT525       **/526      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;527      /**528       * Not Nonfungible item data used to mint in Nonfungible collection.529       **/530      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;531      /**532       * Generic error533       **/534      [key: string]: AugmentedError<ApiType>;535    };536    parachainSystem: {537      /**538       * The inherent which supplies the host configuration did not run this block539       **/540      HostConfigurationNotAvailable: AugmentedError<ApiType>;541      /**542       * No code upgrade has been authorized.543       **/544      NothingAuthorized: AugmentedError<ApiType>;545      /**546       * No validation function upgrade is currently scheduled.547       **/548      NotScheduled: AugmentedError<ApiType>;549      /**550       * Attempt to upgrade validation function while existing upgrade pending551       **/552      OverlappingUpgrades: AugmentedError<ApiType>;553      /**554       * Polkadot currently prohibits this parachain from upgrading its validation function555       **/556      ProhibitedByPolkadot: AugmentedError<ApiType>;557      /**558       * The supplied validation function has compiled into a blob larger than Polkadot is559       * willing to run560       **/561      TooBig: AugmentedError<ApiType>;562      /**563       * The given code upgrade has not been authorized.564       **/565      Unauthorized: AugmentedError<ApiType>;566      /**567       * The inherent which supplies the validation data did not run this block568       **/569      ValidationDataNotAvailable: AugmentedError<ApiType>;570      /**571       * Generic error572       **/573      [key: string]: AugmentedError<ApiType>;574    };575    polkadotXcm: {576      /**577       * The location is invalid since it already has a subscription from us.578       **/579      AlreadySubscribed: AugmentedError<ApiType>;580      /**581       * The given location could not be used (e.g. because it cannot be expressed in the582       * desired version of XCM).583       **/584      BadLocation: AugmentedError<ApiType>;585      /**586       * The version of the `Versioned` value used is not able to be interpreted.587       **/588      BadVersion: AugmentedError<ApiType>;589      /**590       * Could not re-anchor the assets to declare the fees for the destination chain.591       **/592      CannotReanchor: AugmentedError<ApiType>;593      /**594       * The destination `MultiLocation` provided cannot be inverted.595       **/596      DestinationNotInvertible: AugmentedError<ApiType>;597      /**598       * The assets to be sent are empty.599       **/600      Empty: AugmentedError<ApiType>;601      /**602       * The message execution fails the filter.603       **/604      Filtered: AugmentedError<ApiType>;605      /**606       * Origin is invalid for sending.607       **/608      InvalidOrigin: AugmentedError<ApiType>;609      /**610       * The referenced subscription could not be found.611       **/612      NoSubscription: AugmentedError<ApiType>;613      /**614       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps615       * a lack of space for buffering the message.616       **/617      SendFailure: AugmentedError<ApiType>;618      /**619       * Too many assets have been attempted for transfer.620       **/621      TooManyAssets: AugmentedError<ApiType>;622      /**623       * The desired destination was unreachable, generally because there is a no way of routing624       * to it.625       **/626      Unreachable: AugmentedError<ApiType>;627      /**628       * The message's weight could not be determined.629       **/630      UnweighableMessage: AugmentedError<ApiType>;631      /**632       * Generic error633       **/634      [key: string]: AugmentedError<ApiType>;635    };636    refungible: {637      /**638       * Not Refungible item data used to mint in Refungible collection.639       **/640      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;641      /**642       * Refungible token can't nest other tokens.643       **/644      RefungibleDisallowsNesting: AugmentedError<ApiType>;645      /**646       * Refungible token can't be repartitioned by user who isn't owns all pieces.647       **/648      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;649      /**650       * Setting item properties is not allowed.651       **/652      SettingPropertiesNotAllowed: AugmentedError<ApiType>;653      /**654       * Maximum refungibility exceeded.655       **/656      WrongRefungiblePieces: AugmentedError<ApiType>;657      /**658       * Generic error659       **/660      [key: string]: AugmentedError<ApiType>;661    };662    rmrkCore: {663      /**664       * Not the target owner of the sent NFT.665       **/666      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;667      /**668       * Not the target owner of the sent NFT.669       **/670      CannotRejectNonOwnedNft: AugmentedError<ApiType>;671      /**672       * NFT was not sent and is not pending.673       **/674      CannotRejectNonPendingNft: AugmentedError<ApiType>;675      /**676       * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.677       * Sending to self is redundant.678       **/679      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;680      /**681       * Too many tokens created in the collection, no new ones are allowed.682       **/683      CollectionFullOrLocked: AugmentedError<ApiType>;684      /**685       * Only destroying collections without tokens is allowed.686       **/687      CollectionNotEmpty: AugmentedError<ApiType>;688      /**689       * Collection does not exist, has a wrong type, or does not map to a Unique ID.690       **/691      CollectionUnknown: AugmentedError<ApiType>;692      /**693       * Property of the type of RMRK collection could not be read successfully.694       **/695      CorruptedCollectionType: AugmentedError<ApiType>;696      /**697       * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.698       **/699      NoAvailableCollectionId: AugmentedError<ApiType>;700      /**701       * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.702       **/703      NoAvailableNftId: AugmentedError<ApiType>;704      /**705       * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.706       **/707      NoAvailableResourceId: AugmentedError<ApiType>;708      /**709       * Token is marked as non-transferable, and thus cannot be transferred.710       **/711      NonTransferable: AugmentedError<ApiType>;712      /**713       * No permission to perform action.714       **/715      NoPermission: AugmentedError<ApiType>;716      /**717       * No such resource found.718       **/719      ResourceDoesntExist: AugmentedError<ApiType>;720      /**721       * Resource is not pending for the operation.722       **/723      ResourceNotPending: AugmentedError<ApiType>;724      /**725       * Could not find a property by the supplied key.726       **/727      RmrkPropertyIsNotFound: AugmentedError<ApiType>;728      /**729       * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).730       **/731      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;732      /**733       * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).734       **/735      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;736      /**737       * Something went wrong when decoding encoded data from the storage.738       * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.739       **/740      UnableToDecodeRmrkData: AugmentedError<ApiType>;741      /**742       * Generic error743       **/744      [key: string]: AugmentedError<ApiType>;745    };746    rmrkEquip: {747      /**748       * Base collection linked to this ID does not exist.749       **/750      BaseDoesntExist: AugmentedError<ApiType>;751      /**752       * No Theme named "default" is associated with the Base.753       **/754      NeedsDefaultThemeFirst: AugmentedError<ApiType>;755      /**756       * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.757       **/758      NoAvailableBaseId: AugmentedError<ApiType>;759      /**760       * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow761       **/762      NoAvailablePartId: AugmentedError<ApiType>;763      /**764       * Cannot assign equippables to a fixed Part.765       **/766      NoEquippableOnFixedPart: AugmentedError<ApiType>;767      /**768       * Part linked to this ID does not exist.769       **/770      PartDoesntExist: AugmentedError<ApiType>;771      /**772       * No permission to perform action.773       **/774      PermissionError: AugmentedError<ApiType>;775      /**776       * Generic error777       **/778      [key: string]: AugmentedError<ApiType>;779    };780    session: {781      /**782       * Registered duplicate key.783       **/784      DuplicatedKey: AugmentedError<ApiType>;785      /**786       * Invalid ownership proof.787       **/788      InvalidProof: AugmentedError<ApiType>;789      /**790       * Key setting account is not live, so it's impossible to associate keys.791       **/792      NoAccount: AugmentedError<ApiType>;793      /**794       * No associated validator ID for account.795       **/796      NoAssociatedValidatorId: AugmentedError<ApiType>;797      /**798       * No keys are associated with this account.799       **/800      NoKeys: AugmentedError<ApiType>;801      /**802       * Generic error803       **/804      [key: string]: AugmentedError<ApiType>;805    };806    structure: {807      /**808       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.809       **/810      BreadthLimit: 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