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

difftreelog

source

tests/src/interfaces/augment-api-errors.ts29.8 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    balances: {45      /**46       * Beneficiary account must pre-exist47       **/48      DeadAccount: AugmentedError<ApiType>;49      /**50       * Value too low to create account due to existential deposit51       **/52      ExistentialDeposit: AugmentedError<ApiType>;53      /**54       * A vesting schedule already exists for this account55       **/56      ExistingVestingSchedule: AugmentedError<ApiType>;57      /**58       * Balance too low to send value.59       **/60      InsufficientBalance: AugmentedError<ApiType>;61      /**62       * Transfer/payment would kill account63       **/64      KeepAlive: AugmentedError<ApiType>;65      /**66       * Account liquidity restrictions prevent withdrawal67       **/68      LiquidityRestrictions: AugmentedError<ApiType>;69      /**70       * Number of named reserves exceed MaxReserves71       **/72      TooManyReserves: AugmentedError<ApiType>;73      /**74       * Vesting balance too high to send value75       **/76      VestingBalance: AugmentedError<ApiType>;77      /**78       * Generic error79       **/80      [key: string]: AugmentedError<ApiType>;81    };82    common: {83      /**84       * Account token limit exceeded per collection85       **/86      AccountTokenLimitExceeded: AugmentedError<ApiType>;87      /**88       * Only spending from eth mirror could be approved89       **/90      AddressIsNotEthMirror: AugmentedError<ApiType>;91      /**92       * Can't transfer tokens to ethereum zero address93       **/94      AddressIsZero: AugmentedError<ApiType>;95      /**96       * Address is not in allow list.97       **/98      AddressNotInAllowlist: AugmentedError<ApiType>;99      /**100       * Requested value is more than the approved101       **/102      ApprovedValueTooLow: AugmentedError<ApiType>;103      /**104       * Tried to approve more than owned105       **/106      CantApproveMoreThanOwned: AugmentedError<ApiType>;107      /**108       * Destroying only empty collections is allowed109       **/110      CantDestroyNotEmptyCollection: AugmentedError<ApiType>;111      /**112       * Exceeded max admin count113       **/114      CollectionAdminCountExceeded: AugmentedError<ApiType>;115      /**116       * Collection description can not be longer than 255 char.117       **/118      CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;119      /**120       * Tried to store more data than allowed in collection field121       **/122      CollectionFieldSizeExceeded: AugmentedError<ApiType>;123      /**124       * Tried to access an external collection with an internal API125       **/126      CollectionIsExternal: AugmentedError<ApiType>;127      /**128       * Tried to access an internal collection with an external API129       **/130      CollectionIsInternal: AugmentedError<ApiType>;131      /**132       * Collection limit bounds per collection exceeded133       **/134      CollectionLimitBoundsExceeded: AugmentedError<ApiType>;135      /**136       * Collection name can not be longer than 63 char.137       **/138      CollectionNameLimitExceeded: AugmentedError<ApiType>;139      /**140       * This collection does not exist.141       **/142      CollectionNotFound: AugmentedError<ApiType>;143      /**144       * Collection token limit exceeded145       **/146      CollectionTokenLimitExceeded: AugmentedError<ApiType>;147      /**148       * Token prefix can not be longer than 15 char.149       **/150      CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;151      /**152       * This address is not set as sponsor, use setCollectionSponsor first.153       **/154      ConfirmSponsorshipFail: AugmentedError<ApiType>;155      /**156       * Empty property keys are forbidden157       **/158      EmptyPropertyKey: AugmentedError<ApiType>;159      /**160       * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed161       **/162      InvalidCharacterInPropertyKey: AugmentedError<ApiType>;163      /**164       * Metadata flag frozen165       **/166      MetadataFlagFrozen: AugmentedError<ApiType>;167      /**168       * Sender parameter and item owner must be equal.169       **/170      MustBeTokenOwner: AugmentedError<ApiType>;171      /**172       * No permission to perform action173       **/174      NoPermission: AugmentedError<ApiType>;175      /**176       * Tried to store more property data than allowed177       **/178      NoSpaceForProperty: AugmentedError<ApiType>;179      /**180       * Insufficient funds to perform an action181       **/182      NotSufficientFounds: AugmentedError<ApiType>;183      /**184       * Tried to enable permissions which are only permitted to be disabled185       **/186      OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;187      /**188       * Property key is too long189       **/190      PropertyKeyIsTooLong: AugmentedError<ApiType>;191      /**192       * Tried to store more property keys than allowed193       **/194      PropertyLimitReached: AugmentedError<ApiType>;195      /**196       * Collection is not in mint mode.197       **/198      PublicMintingNotAllowed: AugmentedError<ApiType>;199      /**200       * Only tokens from specific collections may nest tokens under this one201       **/202      SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;203      /**204       * Item does not exist205       **/206      TokenNotFound: AugmentedError<ApiType>;207      /**208       * Item is balance not enough209       **/210      TokenValueTooLow: AugmentedError<ApiType>;211      /**212       * Total collections bound exceeded.213       **/214      TotalCollectionsLimitExceeded: AugmentedError<ApiType>;215      /**216       * Collection settings not allowing items transferring217       **/218      TransferNotAllowed: AugmentedError<ApiType>;219      /**220       * The operation is not supported221       **/222      UnsupportedOperation: AugmentedError<ApiType>;223      /**224       * User does not satisfy the nesting rule225       **/226      UserIsNotAllowedToNest: AugmentedError<ApiType>;227      /**228       * The user is not an administrator.229       **/230      UserIsNotCollectionAdmin: AugmentedError<ApiType>;231      /**232       * Generic error233       **/234      [key: string]: AugmentedError<ApiType>;235    };236    configuration: {237      InconsistentConfiguration: AugmentedError<ApiType>;238      /**239       * Generic error240       **/241      [key: string]: AugmentedError<ApiType>;242    };243    cumulusXcm: {244      /**245       * Generic error246       **/247      [key: string]: AugmentedError<ApiType>;248    };249    dmpQueue: {250      /**251       * The amount of weight given is possibly not enough for executing the message.252       **/253      OverLimit: AugmentedError<ApiType>;254      /**255       * The message index given is unknown.256       **/257      Unknown: AugmentedError<ApiType>;258      /**259       * Generic error260       **/261      [key: string]: AugmentedError<ApiType>;262    };263    ethereum: {264      /**265       * Signature is invalid.266       **/267      InvalidSignature: AugmentedError<ApiType>;268      /**269       * Pre-log is present, therefore transact is not allowed.270       **/271      PreLogExists: AugmentedError<ApiType>;272      /**273       * Generic error274       **/275      [key: string]: AugmentedError<ApiType>;276    };277    evm: {278      /**279       * Not enough balance to perform action280       **/281      BalanceLow: AugmentedError<ApiType>;282      /**283       * Calculating total fee overflowed284       **/285      FeeOverflow: AugmentedError<ApiType>;286      /**287       * Gas limit is too high.288       **/289      GasLimitTooHigh: AugmentedError<ApiType>;290      /**291       * Gas limit is too low.292       **/293      GasLimitTooLow: AugmentedError<ApiType>;294      /**295       * Gas price is too low.296       **/297      GasPriceTooLow: AugmentedError<ApiType>;298      /**299       * Nonce is invalid300       **/301      InvalidNonce: AugmentedError<ApiType>;302      /**303       * Calculating total payment overflowed304       **/305      PaymentOverflow: AugmentedError<ApiType>;306      /**307       * EVM reentrancy308       **/309      Reentrancy: AugmentedError<ApiType>;310      /**311       * EIP-3607,312       **/313      TransactionMustComeFromEOA: AugmentedError<ApiType>;314      /**315       * Undefined error.316       **/317      Undefined: AugmentedError<ApiType>;318      /**319       * Withdraw fee failed320       **/321      WithdrawFailed: AugmentedError<ApiType>;322      /**323       * Generic error324       **/325      [key: string]: AugmentedError<ApiType>;326    };327    evmCoderSubstrate: {328      OutOfFund: AugmentedError<ApiType>;329      OutOfGas: AugmentedError<ApiType>;330      /**331       * Generic error332       **/333      [key: string]: AugmentedError<ApiType>;334    };335    evmContractHelpers: {336      /**337       * No pending sponsor for contract.338       **/339      NoPendingSponsor: AugmentedError<ApiType>;340      /**341       * This method is only executable by contract owner342       **/343      NoPermission: AugmentedError<ApiType>;344      /**345       * Number of methods that sponsored limit is defined for exceeds maximum.346       **/347      TooManyMethodsHaveSponsoredLimit: AugmentedError<ApiType>;348      /**349       * Generic error350       **/351      [key: string]: AugmentedError<ApiType>;352    };353    evmMigration: {354      /**355       * Migration of this account is not yet started, or already finished.356       **/357      AccountIsNotMigrating: AugmentedError<ApiType>;358      /**359       * Can only migrate to empty address.360       **/361      AccountNotEmpty: AugmentedError<ApiType>;362      /**363       * Failed to decode event bytes364       **/365      BadEvent: AugmentedError<ApiType>;366      /**367       * Generic error368       **/369      [key: string]: AugmentedError<ApiType>;370    };371    foreignAssets: {372      /**373       * AssetId exists374       **/375      AssetIdExisted: AugmentedError<ApiType>;376      /**377       * AssetId not exists378       **/379      AssetIdNotExists: AugmentedError<ApiType>;380      /**381       * The given location could not be used (e.g. because it cannot be expressed in the382       * desired version of XCM).383       **/384      BadLocation: AugmentedError<ApiType>;385      /**386       * MultiLocation existed387       **/388      MultiLocationExisted: AugmentedError<ApiType>;389      /**390       * Generic error391       **/392      [key: string]: AugmentedError<ApiType>;393    };394    fungible: {395      /**396       * Fungible token does not support nesting.397       **/398      FungibleDisallowsNesting: AugmentedError<ApiType>;399      /**400       * Tried to set data for fungible item.401       **/402      FungibleItemsDontHaveData: AugmentedError<ApiType>;403      /**404       * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.405       **/406      FungibleItemsHaveNoId: AugmentedError<ApiType>;407      /**408       * Only a fungible collection could be possibly broken; any fungible token is valid.409       **/410      FungibleTokensAreAlwaysValid: AugmentedError<ApiType>;411      /**412       * Not Fungible item data used to mint in Fungible collection.413       **/414      NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;415      /**416       * Setting allowance for all is not allowed.417       **/418      SettingAllowanceForAllNotAllowed: AugmentedError<ApiType>;419      /**420       * Setting item properties is not allowed.421       **/422      SettingPropertiesNotAllowed: AugmentedError<ApiType>;423      /**424       * Generic error425       **/426      [key: string]: AugmentedError<ApiType>;427    };428    maintenance: {429      /**430       * Generic error431       **/432      [key: string]: AugmentedError<ApiType>;433    };434    nonfungible: {435      /**436       * Unable to burn NFT with children437       **/438      CantBurnNftWithChildren: AugmentedError<ApiType>;439      /**440       * Used amount > 1 with NFT441       **/442      NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;443      /**444       * Not Nonfungible item data used to mint in Nonfungible collection.445       **/446      NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;447      /**448       * Generic error449       **/450      [key: string]: AugmentedError<ApiType>;451    };452    parachainSystem: {453      /**454       * The inherent which supplies the host configuration did not run this block455       **/456      HostConfigurationNotAvailable: AugmentedError<ApiType>;457      /**458       * No code upgrade has been authorized.459       **/460      NothingAuthorized: AugmentedError<ApiType>;461      /**462       * No validation function upgrade is currently scheduled.463       **/464      NotScheduled: AugmentedError<ApiType>;465      /**466       * Attempt to upgrade validation function while existing upgrade pending467       **/468      OverlappingUpgrades: AugmentedError<ApiType>;469      /**470       * Polkadot currently prohibits this parachain from upgrading its validation function471       **/472      ProhibitedByPolkadot: AugmentedError<ApiType>;473      /**474       * The supplied validation function has compiled into a blob larger than Polkadot is475       * willing to run476       **/477      TooBig: AugmentedError<ApiType>;478      /**479       * The given code upgrade has not been authorized.480       **/481      Unauthorized: AugmentedError<ApiType>;482      /**483       * The inherent which supplies the validation data did not run this block484       **/485      ValidationDataNotAvailable: AugmentedError<ApiType>;486      /**487       * Generic error488       **/489      [key: string]: AugmentedError<ApiType>;490    };491    polkadotXcm: {492      /**493       * The location is invalid since it already has a subscription from us.494       **/495      AlreadySubscribed: AugmentedError<ApiType>;496      /**497       * The given location could not be used (e.g. because it cannot be expressed in the498       * desired version of XCM).499       **/500      BadLocation: AugmentedError<ApiType>;501      /**502       * The version of the `Versioned` value used is not able to be interpreted.503       **/504      BadVersion: AugmentedError<ApiType>;505      /**506       * Could not re-anchor the assets to declare the fees for the destination chain.507       **/508      CannotReanchor: AugmentedError<ApiType>;509      /**510       * The destination `MultiLocation` provided cannot be inverted.511       **/512      DestinationNotInvertible: AugmentedError<ApiType>;513      /**514       * The assets to be sent are empty.515       **/516      Empty: AugmentedError<ApiType>;517      /**518       * The message execution fails the filter.519       **/520      Filtered: AugmentedError<ApiType>;521      /**522       * Origin is invalid for sending.523       **/524      InvalidOrigin: AugmentedError<ApiType>;525      /**526       * The referenced subscription could not be found.527       **/528      NoSubscription: AugmentedError<ApiType>;529      /**530       * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps531       * a lack of space for buffering the message.532       **/533      SendFailure: AugmentedError<ApiType>;534      /**535       * Too many assets have been attempted for transfer.536       **/537      TooManyAssets: AugmentedError<ApiType>;538      /**539       * The desired destination was unreachable, generally because there is a no way of routing540       * to it.541       **/542      Unreachable: AugmentedError<ApiType>;543      /**544       * The message's weight could not be determined.545       **/546      UnweighableMessage: AugmentedError<ApiType>;547      /**548       * Generic error549       **/550      [key: string]: AugmentedError<ApiType>;551    };552    refungible: {553      /**554       * Not Refungible item data used to mint in Refungible collection.555       **/556      NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;557      /**558       * Refungible token can't nest other tokens.559       **/560      RefungibleDisallowsNesting: AugmentedError<ApiType>;561      /**562       * Refungible token can't be repartitioned by user who isn't owns all pieces.563       **/564      RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;565      /**566       * Setting item properties is not allowed.567       **/568      SettingPropertiesNotAllowed: AugmentedError<ApiType>;569      /**570       * Maximum refungibility exceeded.571       **/572      WrongRefungiblePieces: AugmentedError<ApiType>;573      /**574       * Generic error575       **/576      [key: string]: AugmentedError<ApiType>;577    };578    rmrkCore: {579      /**580       * Not the target owner of the sent NFT.581       **/582      CannotAcceptNonOwnedNft: AugmentedError<ApiType>;583      /**584       * Not the target owner of the sent NFT.585       **/586      CannotRejectNonOwnedNft: AugmentedError<ApiType>;587      /**588       * NFT was not sent and is not pending.589       **/590      CannotRejectNonPendingNft: AugmentedError<ApiType>;591      /**592       * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.593       * Sending to self is redundant.594       **/595      CannotSendToDescendentOrSelf: AugmentedError<ApiType>;596      /**597       * Too many tokens created in the collection, no new ones are allowed.598       **/599      CollectionFullOrLocked: AugmentedError<ApiType>;600      /**601       * Only destroying collections without tokens is allowed.602       **/603      CollectionNotEmpty: AugmentedError<ApiType>;604      /**605       * Collection does not exist, has a wrong type, or does not map to a Unique ID.606       **/607      CollectionUnknown: AugmentedError<ApiType>;608      /**609       * Property of the type of RMRK collection could not be read successfully.610       **/611      CorruptedCollectionType: AugmentedError<ApiType>;612      /**613       * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.614       **/615      NoAvailableCollectionId: AugmentedError<ApiType>;616      /**617       * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.618       **/619      NoAvailableNftId: AugmentedError<ApiType>;620      /**621       * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.622       **/623      NoAvailableResourceId: AugmentedError<ApiType>;624      /**625       * Token is marked as non-transferable, and thus cannot be transferred.626       **/627      NonTransferable: AugmentedError<ApiType>;628      /**629       * No permission to perform action.630       **/631      NoPermission: AugmentedError<ApiType>;632      /**633       * No such resource found.634       **/635      ResourceDoesntExist: AugmentedError<ApiType>;636      /**637       * Resource is not pending for the operation.638       **/639      ResourceNotPending: AugmentedError<ApiType>;640      /**641       * Could not find a property by the supplied key.642       **/643      RmrkPropertyIsNotFound: AugmentedError<ApiType>;644      /**645       * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).646       **/647      RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;648      /**649       * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).650       **/651      RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;652      /**653       * Something went wrong when decoding encoded data from the storage.654       * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.655       **/656      UnableToDecodeRmrkData: AugmentedError<ApiType>;657      /**658       * Generic error659       **/660      [key: string]: AugmentedError<ApiType>;661    };662    rmrkEquip: {663      /**664       * Base collection linked to this ID does not exist.665       **/666      BaseDoesntExist: AugmentedError<ApiType>;667      /**668       * No Theme named "default" is associated with the Base.669       **/670      NeedsDefaultThemeFirst: AugmentedError<ApiType>;671      /**672       * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.673       **/674      NoAvailableBaseId: AugmentedError<ApiType>;675      /**676       * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow677       **/678      NoAvailablePartId: AugmentedError<ApiType>;679      /**680       * Cannot assign equippables to a fixed Part.681       **/682      NoEquippableOnFixedPart: AugmentedError<ApiType>;683      /**684       * Part linked to this ID does not exist.685       **/686      PartDoesntExist: AugmentedError<ApiType>;687      /**688       * No permission to perform action.689       **/690      PermissionError: AugmentedError<ApiType>;691      /**692       * Generic error693       **/694      [key: string]: AugmentedError<ApiType>;695    };696    structure: {697      /**698       * While nesting, reached the breadth limit of nesting, exceeding the provided budget.699       **/700      BreadthLimit: AugmentedError<ApiType>;701      /**702       * While nesting, reached the depth limit of nesting, exceeding the provided budget.703       **/704      DepthLimit: AugmentedError<ApiType>;705      /**706       * While nesting, encountered an already checked account, detecting a loop.707       **/708      OuroborosDetected: AugmentedError<ApiType>;709      /**710       * Couldn't find the token owner that is itself a token.711       **/712      TokenNotFound: AugmentedError<ApiType>;713      /**714       * Generic error715       **/716      [key: string]: AugmentedError<ApiType>;717    };718    sudo: {719      /**720       * Sender must be the Sudo account721       **/722      RequireSudo: AugmentedError<ApiType>;723      /**724       * Generic error725       **/726      [key: string]: AugmentedError<ApiType>;727    };728    system: {729      /**730       * The origin filter prevent the call to be dispatched.731       **/732      CallFiltered: AugmentedError<ApiType>;733      /**734       * Failed to extract the runtime version from the new runtime.735       * 736       * Either calling `Core_version` or decoding `RuntimeVersion` failed.737       **/738      FailedToExtractRuntimeVersion: AugmentedError<ApiType>;739      /**740       * The name of specification does not match between the current runtime741       * and the new runtime.742       **/743      InvalidSpecName: AugmentedError<ApiType>;744      /**745       * Suicide called when the account has non-default composite data.746       **/747      NonDefaultComposite: AugmentedError<ApiType>;748      /**749       * There is a non-zero reference count preventing the account from being purged.750       **/751      NonZeroRefCount: AugmentedError<ApiType>;752      /**753       * The specification version is not allowed to decrease between the current runtime754       * and the new runtime.755       **/756      SpecVersionNeedsToIncrease: AugmentedError<ApiType>;757      /**758       * Generic error759       **/760      [key: string]: AugmentedError<ApiType>;761    };762    testUtils: {763      TestPalletDisabled: AugmentedError<ApiType>;764      TriggerRollback: AugmentedError<ApiType>;765      /**766       * Generic error767       **/768      [key: string]: AugmentedError<ApiType>;769    };770    tokens: {771      /**772       * Cannot convert Amount into Balance type773       **/774      AmountIntoBalanceFailed: AugmentedError<ApiType>;775      /**776       * The balance is too low777       **/778      BalanceTooLow: AugmentedError<ApiType>;779      /**780       * Beneficiary account must pre-exist781       **/782      DeadAccount: AugmentedError<ApiType>;783      /**784       * Value too low to create account due to existential deposit785       **/786      ExistentialDeposit: AugmentedError<ApiType>;787      /**788       * Transfer/payment would kill account789       **/790      KeepAlive: AugmentedError<ApiType>;791      /**792       * Failed because liquidity restrictions due to locking793       **/794      LiquidityRestrictions: AugmentedError<ApiType>;795      /**796       * Failed because the maximum locks was exceeded797       **/798      MaxLocksExceeded: AugmentedError<ApiType>;799      TooManyReserves: AugmentedError<ApiType>;800      /**801       * Generic error802       **/803      [key: string]: AugmentedError<ApiType>;804    };805    treasury: {806      /**807       * The spend origin is valid but the amount it is allowed to spend is lower than the808       * amount to be spent.809       **/810      InsufficientPermission: AugmentedError<ApiType>;811      /**812       * Proposer's balance is too low.813       **/814      InsufficientProposersBalance: AugmentedError<ApiType>;815      /**816       * No proposal or bounty at that index.817       **/818      InvalidIndex: AugmentedError<ApiType>;819      /**820       * Proposal has not been approved.821       **/822      ProposalNotApproved: AugmentedError<ApiType>;823      /**824       * Too many approvals in the queue.825       **/826      TooManyApprovals: AugmentedError<ApiType>;827      /**828       * Generic error829       **/830      [key: string]: AugmentedError<ApiType>;831    };832    unique: {833      /**834       * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].835       **/836      CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;837      /**838       * Length of items properties must be greater than 0.839       **/840      EmptyArgument: AugmentedError<ApiType>;841      /**842       * Repertition is only supported by refungible collection.843       **/844      RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;845      /**846       * Generic error847       **/848      [key: string]: AugmentedError<ApiType>;849    };850    vesting: {851      /**852       * The vested transfer amount is too low853       **/854      AmountLow: AugmentedError<ApiType>;855      /**856       * Insufficient amount of balance to lock857       **/858      InsufficientBalanceToLock: AugmentedError<ApiType>;859      /**860       * Failed because the maximum vesting schedules was exceeded861       **/862      MaxVestingSchedulesExceeded: AugmentedError<ApiType>;863      /**864       * This account have too many vesting schedules865       **/866      TooManyVestingSchedules: AugmentedError<ApiType>;867      /**868       * Vesting period is zero869       **/870      ZeroVestingPeriod: AugmentedError<ApiType>;871      /**872       * Number of vests is zero873       **/874      ZeroVestingPeriodCount: AugmentedError<ApiType>;875      /**876       * Generic error877       **/878      [key: string]: AugmentedError<ApiType>;879    };880    xcmpQueue: {881      /**882       * Bad overweight index.883       **/884      BadOverweightIndex: AugmentedError<ApiType>;885      /**886       * Bad XCM data.887       **/888      BadXcm: AugmentedError<ApiType>;889      /**890       * Bad XCM origin.891       **/892      BadXcmOrigin: AugmentedError<ApiType>;893      /**894       * Failed to send XCM message.895       **/896      FailedToSend: AugmentedError<ApiType>;897      /**898       * Provided weight is possibly not enough to execute the message.899       **/900      WeightOverLimit: AugmentedError<ApiType>;901      /**902       * Generic error903       **/904      [key: string]: AugmentedError<ApiType>;905    };906    xTokens: {907      /**908       * Asset has no reserve location.909       **/910      AssetHasNoReserve: AugmentedError<ApiType>;911      /**912       * The specified index does not exist in a MultiAssets struct.913       **/914      AssetIndexNonExistent: AugmentedError<ApiType>;915      /**916       * The version of the `Versioned` value used is not able to be917       * interpreted.918       **/919      BadVersion: AugmentedError<ApiType>;920      /**921       * Could not re-anchor the assets to declare the fees for the922       * destination chain.923       **/924      CannotReanchor: AugmentedError<ApiType>;925      /**926       * The destination `MultiLocation` provided cannot be inverted.927       **/928      DestinationNotInvertible: AugmentedError<ApiType>;929      /**930       * We tried sending distinct asset and fee but they have different931       * reserve chains.932       **/933      DistinctReserveForAssetAndFee: AugmentedError<ApiType>;934      /**935       * Fee is not enough.936       **/937      FeeNotEnough: AugmentedError<ApiType>;938      /**939       * Could not get ancestry of asset reserve location.940       **/941      InvalidAncestry: AugmentedError<ApiType>;942      /**943       * The MultiAsset is invalid.944       **/945      InvalidAsset: AugmentedError<ApiType>;946      /**947       * Invalid transfer destination.948       **/949      InvalidDest: AugmentedError<ApiType>;950      /**951       * MinXcmFee not registered for certain reserve location952       **/953      MinXcmFeeNotDefined: AugmentedError<ApiType>;954      /**955       * Not cross-chain transfer.956       **/957      NotCrossChainTransfer: AugmentedError<ApiType>;958      /**959       * Currency is not cross-chain transferable.960       **/961      NotCrossChainTransferableCurrency: AugmentedError<ApiType>;962      /**963       * Not supported MultiLocation964       **/965      NotSupportedMultiLocation: AugmentedError<ApiType>;966      /**967       * The number of assets to be sent is over the maximum.968       **/969      TooManyAssetsBeingSent: AugmentedError<ApiType>;970      /**971       * The message's weight could not be determined.972       **/973      UnweighableMessage: AugmentedError<ApiType>;974      /**975       * XCM execution failed.976       **/977      XcmExecutionFailed: AugmentedError<ApiType>;978      /**979       * The transfering asset amount is zero.980       **/981      ZeroAmount: AugmentedError<ApiType>;982      /**983       * The fee is zero.984       **/985      ZeroFee: AugmentedError<ApiType>;986      /**987       * Generic error988       **/989      [key: string]: AugmentedError<ApiType>;990    };991  } // AugmentedErrors992} // declare module