1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';56declare module '@polkadot/api-base/types/errors' {7 export interface AugmentedErrors<ApiType extends ApiTypes> {8 balances: {9 /**10 * Beneficiary account must pre-exist11 **/12 DeadAccount: AugmentedError<ApiType>;13 /**14 * Value too low to create account due to existential deposit15 **/16 ExistentialDeposit: AugmentedError<ApiType>;17 /**18 * A vesting schedule already exists for this account19 **/20 ExistingVestingSchedule: AugmentedError<ApiType>;21 /**22 * Balance too low to send value23 **/24 InsufficientBalance: AugmentedError<ApiType>;25 /**26 * Transfer/payment would kill account27 **/28 KeepAlive: AugmentedError<ApiType>;29 /**30 * Account liquidity restrictions prevent withdrawal31 **/32 LiquidityRestrictions: AugmentedError<ApiType>;33 /**34 * Number of named reserves exceed MaxReserves35 **/36 TooManyReserves: AugmentedError<ApiType>;37 /**38 * Vesting balance too high to send value39 **/40 VestingBalance: AugmentedError<ApiType>;41 /**42 * Generic error43 **/44 [key: string]: AugmentedError<ApiType>;45 };46 common: {47 /**48 * Account token limit exceeded per collection49 **/50 AccountTokenLimitExceeded: AugmentedError<ApiType>;51 /**52 * Can't transfer tokens to ethereum zero address53 **/54 AddressIsZero: AugmentedError<ApiType>;55 /**56 * Address is not in allow list.57 **/58 AddressNotInAllowlist: AugmentedError<ApiType>;59 /**60 * Requested value more than approved.61 **/62 ApprovedValueTooLow: AugmentedError<ApiType>;63 /**64 * Tried to approve more than owned65 **/66 CantApproveMoreThanOwned: AugmentedError<ApiType>;67 /**68 * Exceeded max admin count69 **/70 CollectionAdminCountExceeded: AugmentedError<ApiType>;71 /**72 * Collection description can not be longer than 255 char.73 **/74 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;75 /**76 * Collection limit bounds per collection exceeded77 **/78 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;79 /**80 * Collection name can not be longer than 63 char.81 **/82 CollectionNameLimitExceeded: AugmentedError<ApiType>;83 /**84 * This collection does not exist.85 **/86 CollectionNotFound: AugmentedError<ApiType>;87 /**88 * Collection token limit exceeded89 **/90 CollectionTokenLimitExceeded: AugmentedError<ApiType>;91 /**92 * Token prefix can not be longer than 15 char.93 **/94 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;95 /**96 * Metadata flag frozen97 **/98 MetadataFlagFrozen: AugmentedError<ApiType>;99 /**100 * Sender parameter and item owner must be equal.101 **/102 MustBeTokenOwner: AugmentedError<ApiType>;103 /**104 * No permission to perform action105 **/106 NoPermission: AugmentedError<ApiType>;107 /**108 * Not sufficient founds to perform action109 **/110 NotSufficientFounds: AugmentedError<ApiType>;111 /**112 * Tried to enable permissions which are only permitted to be disabled113 **/114 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;115 /**116 * Collection is not in mint mode.117 **/118 PublicMintingNotAllowed: AugmentedError<ApiType>;119 /**120 * Item not exists.121 **/122 TokenNotFound: AugmentedError<ApiType>;123 /**124 * Item balance not enough.125 **/126 TokenValueTooLow: AugmentedError<ApiType>;127 /**128 * variable_data exceeded data limit.129 **/130 TokenVariableDataLimitExceeded: AugmentedError<ApiType>;131 /**132 * Total collections bound exceeded.133 **/134 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;135 /**136 * Collection settings not allowing items transferring137 **/138 TransferNotAllowed: AugmentedError<ApiType>;139 /**140 * Target collection doesn't supports this operation141 **/142 UnsupportedOperation: AugmentedError<ApiType>;143 /**144 * Generic error145 **/146 [key: string]: AugmentedError<ApiType>;147 };148 cumulusXcm: {149 /**150 * Generic error151 **/152 [key: string]: AugmentedError<ApiType>;153 };154 dmpQueue: {155 /**156 * The amount of weight given is possibly not enough for executing the message.157 **/158 OverLimit: AugmentedError<ApiType>;159 /**160 * The message index given is unknown.161 **/162 Unknown: AugmentedError<ApiType>;163 /**164 * Generic error165 **/166 [key: string]: AugmentedError<ApiType>;167 };168 ethereum: {169 /**170 * Signature is invalid.171 **/172 InvalidSignature: AugmentedError<ApiType>;173 /**174 * Pre-log is present, therefore transact is not allowed.175 **/176 PreLogExists: AugmentedError<ApiType>;177 /**178 * Generic error179 **/180 [key: string]: AugmentedError<ApiType>;181 };182 evm: {183 /**184 * Not enough balance to perform action185 **/186 BalanceLow: AugmentedError<ApiType>;187 /**188 * Calculating total fee overflowed189 **/190 FeeOverflow: AugmentedError<ApiType>;191 /**192 * Gas price is too low.193 **/194 GasPriceTooLow: AugmentedError<ApiType>;195 /**196 * Nonce is invalid197 **/198 InvalidNonce: AugmentedError<ApiType>;199 /**200 * Calculating total payment overflowed201 **/202 PaymentOverflow: AugmentedError<ApiType>;203 /**204 * Withdraw fee failed205 **/206 WithdrawFailed: AugmentedError<ApiType>;207 /**208 * Generic error209 **/210 [key: string]: AugmentedError<ApiType>;211 };212 evmCoderSubstrate: {213 OutOfFund: AugmentedError<ApiType>;214 OutOfGas: AugmentedError<ApiType>;215 /**216 * Generic error217 **/218 [key: string]: AugmentedError<ApiType>;219 };220 evmContractHelpers: {221 /**222 * This method is only executable by owner223 **/224 NoPermission: AugmentedError<ApiType>;225 /**226 * Generic error227 **/228 [key: string]: AugmentedError<ApiType>;229 };230 evmMigration: {231 AccountIsNotMigrating: AugmentedError<ApiType>;232 AccountNotEmpty: AugmentedError<ApiType>;233 /**234 * Generic error235 **/236 [key: string]: AugmentedError<ApiType>;237 };238 fungible: {239 /**240 * Tried to set data for fungible item241 **/242 FungibleItemsDontHaveData: AugmentedError<ApiType>;243 /**244 * Not default id passed as TokenId argument245 **/246 FungibleItemsHaveNoId: AugmentedError<ApiType>;247 /**248 * Not Fungible item data used to mint in Fungible collection.249 **/250 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;251 /**252 * Generic error253 **/254 [key: string]: AugmentedError<ApiType>;255 };256 nonfungible: {257 /**258 * Used amount > 1 with NFT259 **/260 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;261 /**262 * Not Nonfungible item data used to mint in Nonfungible collection.263 **/264 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;265 /**266 * Generic error267 **/268 [key: string]: AugmentedError<ApiType>;269 };270 parachainSystem: {271 /**272 * The inherent which supplies the host configuration did not run this block273 **/274 HostConfigurationNotAvailable: AugmentedError<ApiType>;275 /**276 * No code upgrade has been authorized.277 **/278 NothingAuthorized: AugmentedError<ApiType>;279 /**280 * No validation function upgrade is currently scheduled.281 **/282 NotScheduled: AugmentedError<ApiType>;283 /**284 * Attempt to upgrade validation function while existing upgrade pending285 **/286 OverlappingUpgrades: AugmentedError<ApiType>;287 /**288 * Polkadot currently prohibits this parachain from upgrading its validation function289 **/290 ProhibitedByPolkadot: AugmentedError<ApiType>;291 /**292 * The supplied validation function has compiled into a blob larger than Polkadot is293 * willing to run294 **/295 TooBig: AugmentedError<ApiType>;296 /**297 * The given code upgrade has not been authorized.298 **/299 Unauthorized: AugmentedError<ApiType>;300 /**301 * The inherent which supplies the validation data did not run this block302 **/303 ValidationDataNotAvailable: AugmentedError<ApiType>;304 /**305 * Generic error306 **/307 [key: string]: AugmentedError<ApiType>;308 };309 polkadotXcm: {310 /**311 * The location is invalid since it already has a subscription from us.312 **/313 AlreadySubscribed: AugmentedError<ApiType>;314 /**315 * The given location could not be used (e.g. because it cannot be expressed in the316 * desired version of XCM).317 **/318 BadLocation: AugmentedError<ApiType>;319 /**320 * The version of the `Versioned` value used is not able to be interpreted.321 **/322 BadVersion: AugmentedError<ApiType>;323 /**324 * Could not re-anchor the assets to declare the fees for the destination chain.325 **/326 CannotReanchor: AugmentedError<ApiType>;327 /**328 * The destination `MultiLocation` provided cannot be inverted.329 **/330 DestinationNotInvertible: AugmentedError<ApiType>;331 /**332 * The assets to be sent are empty.333 **/334 Empty: AugmentedError<ApiType>;335 /**336 * The message execution fails the filter.337 **/338 Filtered: AugmentedError<ApiType>;339 /**340 * Origin is invalid for sending.341 **/342 InvalidOrigin: AugmentedError<ApiType>;343 /**344 * The referenced subscription could not be found.345 **/346 NoSubscription: AugmentedError<ApiType>;347 /**348 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps349 * a lack of space for buffering the message.350 **/351 SendFailure: AugmentedError<ApiType>;352 /**353 * Too many assets have been attempted for transfer.354 **/355 TooManyAssets: AugmentedError<ApiType>;356 /**357 * The desired destination was unreachable, generally because there is a no way of routing358 * to it.359 **/360 Unreachable: AugmentedError<ApiType>;361 /**362 * The message's weight could not be determined.363 **/364 UnweighableMessage: AugmentedError<ApiType>;365 /**366 * Generic error367 **/368 [key: string]: AugmentedError<ApiType>;369 };370 refungible: {371 /**372 * Not Refungible item data used to mint in Refungible collection.373 **/374 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;375 /**376 * Maximum refungibility exceeded377 **/378 WrongRefungiblePieces: AugmentedError<ApiType>;379 /**380 * Generic error381 **/382 [key: string]: AugmentedError<ApiType>;383 };384 sudo: {385 /**386 * Sender must be the Sudo account387 **/388 RequireSudo: AugmentedError<ApiType>;389 /**390 * Generic error391 **/392 [key: string]: AugmentedError<ApiType>;393 };394 system: {395 /**396 * The origin filter prevent the call to be dispatched.397 **/398 CallFiltered: AugmentedError<ApiType>;399 /**400 * Failed to extract the runtime version from the new runtime.401 * 402 * Either calling `Core_version` or decoding `RuntimeVersion` failed.403 **/404 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;405 /**406 * The name of specification does not match between the current runtime407 * and the new runtime.408 **/409 InvalidSpecName: AugmentedError<ApiType>;410 /**411 * Suicide called when the account has non-default composite data.412 **/413 NonDefaultComposite: AugmentedError<ApiType>;414 /**415 * There is a non-zero reference count preventing the account from being purged.416 **/417 NonZeroRefCount: AugmentedError<ApiType>;418 /**419 * The specification version is not allowed to decrease between the current runtime420 * and the new runtime.421 **/422 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;423 /**424 * Generic error425 **/426 [key: string]: AugmentedError<ApiType>;427 };428 treasury: {429 /**430 * Proposer's balance is too low.431 **/432 InsufficientProposersBalance: AugmentedError<ApiType>;433 /**434 * No proposal or bounty at that index.435 **/436 InvalidIndex: AugmentedError<ApiType>;437 /**438 * Too many approvals in the queue.439 **/440 TooManyApprovals: AugmentedError<ApiType>;441 /**442 * Generic error443 **/444 [key: string]: AugmentedError<ApiType>;445 };446 unique: {447 /**448 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.449 **/450 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;451 /**452 * This address is not set as sponsor, use setCollectionSponsor first.453 **/454 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;455 /**456 * Length of items properties must be greater than 0.457 **/458 EmptyArgument: AugmentedError<ApiType>;459 /**460 * Generic error461 **/462 [key: string]: AugmentedError<ApiType>;463 };464 vesting: {465 /**466 * The vested transfer amount is too low467 **/468 AmountLow: AugmentedError<ApiType>;469 /**470 * Insufficient amount of balance to lock471 **/472 InsufficientBalanceToLock: AugmentedError<ApiType>;473 /**474 * Failed because the maximum vesting schedules was exceeded475 **/476 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;477 /**478 * This account have too many vesting schedules479 **/480 TooManyVestingSchedules: AugmentedError<ApiType>;481 /**482 * Vesting period is zero483 **/484 ZeroVestingPeriod: AugmentedError<ApiType>;485 /**486 * Number of vests is zero487 **/488 ZeroVestingPeriodCount: AugmentedError<ApiType>;489 /**490 * Generic error491 **/492 [key: string]: AugmentedError<ApiType>;493 };494 xcmpQueue: {495 /**496 * Bad overweight index.497 **/498 BadOverweightIndex: AugmentedError<ApiType>;499 /**500 * Bad XCM data.501 **/502 BadXcm: AugmentedError<ApiType>;503 /**504 * Bad XCM origin.505 **/506 BadXcmOrigin: AugmentedError<ApiType>;507 /**508 * Failed to send XCM message.509 **/510 FailedToSend: AugmentedError<ApiType>;511 /**512 * Provided weight is possibly not enough to execute the message.513 **/514 WeightOverLimit: AugmentedError<ApiType>;515 /**516 * Generic error517 **/518 [key: string]: AugmentedError<ApiType>;519 };520 } // AugmentedErrors521} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts14.9 KiBsourcehistory