1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api/types';56declare module '@polkadot/api/types/errors' {7 export interface AugmentedErrors<ApiType> {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 * Tried to approve more than owned61 **/62 CantApproveMoreThanOwned: AugmentedError<ApiType>;63 /**64 * Exceeded max admin amount65 **/66 CollectionAdminAmountExceeded: AugmentedError<ApiType>;67 /**68 * Collection description can not be longer than 255 char.69 **/70 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;71 /**72 * Collection name can not be longer than 63 char.73 **/74 CollectionNameLimitExceeded: AugmentedError<ApiType>;75 /**76 * This collection does not exist.77 **/78 CollectionNotFound: AugmentedError<ApiType>;79 /**80 * Collection token limit exceeded81 **/82 CollectionTokenLimitExceeded: AugmentedError<ApiType>;83 /**84 * Token prefix can not be longer than 15 char.85 **/86 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;87 /**88 * Metadata flag frozen89 **/90 MetadataFlagFrozen: AugmentedError<ApiType>;91 /**92 * Sender parameter and item owner must be equal.93 **/94 MustBeTokenOwner: AugmentedError<ApiType>;95 /**96 * No permission to perform action97 **/98 NoPermission: AugmentedError<ApiType>;99 /**100 * Collection is not in mint mode.101 **/102 PublicMintingNotAllowed: AugmentedError<ApiType>;103 /**104 * Item not exists.105 **/106 TokenNotFound: AugmentedError<ApiType>;107 /**108 * Requested value more than approved.109 **/110 TokenValueNotEnough: AugmentedError<ApiType>;111 /**112 * Item balance not enough.113 **/114 TokenValueTooLow: AugmentedError<ApiType>;115 /**116 * variable_data exceeded data limit.117 **/118 TokenVariableDataLimitExceeded: AugmentedError<ApiType>;119 /**120 * Total collections bound exceeded.121 **/122 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;123 /**124 * Collection settings not allowing items transferring125 **/126 TransferNotAllowed: AugmentedError<ApiType>;127 /**128 * Target collection doesn't supports this operation129 **/130 UnsupportedOperation: AugmentedError<ApiType>;131 /**132 * Generic error133 **/134 [key: string]: AugmentedError<ApiType>;135 };136 cumulusXcm: {137 /**138 * Generic error139 **/140 [key: string]: AugmentedError<ApiType>;141 };142 dmpQueue: {143 /**144 * The amount of weight given is possibly not enough for executing the message.145 **/146 OverLimit: AugmentedError<ApiType>;147 /**148 * The message index given is unknown.149 **/150 Unknown: AugmentedError<ApiType>;151 /**152 * Generic error153 **/154 [key: string]: AugmentedError<ApiType>;155 };156 ethereum: {157 /**158 * Signature is invalid.159 **/160 InvalidSignature: AugmentedError<ApiType>;161 /**162 * Pre-log is present, therefore transact is not allowed.163 **/164 PreLogExists: AugmentedError<ApiType>;165 /**166 * Generic error167 **/168 [key: string]: AugmentedError<ApiType>;169 };170 evm: {171 /**172 * Not enough balance to perform action173 **/174 BalanceLow: AugmentedError<ApiType>;175 /**176 * Calculating total fee overflowed177 **/178 FeeOverflow: AugmentedError<ApiType>;179 /**180 * Gas price is too low.181 **/182 GasPriceTooLow: AugmentedError<ApiType>;183 /**184 * Nonce is invalid185 **/186 InvalidNonce: AugmentedError<ApiType>;187 /**188 * Calculating total payment overflowed189 **/190 PaymentOverflow: AugmentedError<ApiType>;191 /**192 * Withdraw fee failed193 **/194 WithdrawFailed: AugmentedError<ApiType>;195 /**196 * Generic error197 **/198 [key: string]: AugmentedError<ApiType>;199 };200 evmCoderSubstrate: {201 OutOfFund: AugmentedError<ApiType>;202 OutOfGas: AugmentedError<ApiType>;203 /**204 * Generic error205 **/206 [key: string]: AugmentedError<ApiType>;207 };208 evmContractHelpers: {209 /**210 * This method is only executable by owner211 **/212 NoPermission: AugmentedError<ApiType>;213 /**214 * Generic error215 **/216 [key: string]: AugmentedError<ApiType>;217 };218 evmMigration: {219 AccountIsNotMigrating: AugmentedError<ApiType>;220 AccountNotEmpty: AugmentedError<ApiType>;221 /**222 * Generic error223 **/224 [key: string]: AugmentedError<ApiType>;225 };226 fungible: {227 /**228 * Tried to set data for fungible item229 **/230 FungibleItemsHaveData: AugmentedError<ApiType>;231 /**232 * Not default id passed as TokenId argument233 **/234 FungibleItemsHaveNoId: AugmentedError<ApiType>;235 /**236 * Not Fungible item data used to mint in Fungible collection.237 **/238 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;239 /**240 * Generic error241 **/242 [key: string]: AugmentedError<ApiType>;243 };244 nonfungible: {245 /**246 * Used amount > 1 with NFT247 **/248 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;249 /**250 * Not Nonfungible item data used to mint in Nonfungible collection.251 **/252 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;253 /**254 * Generic error255 **/256 [key: string]: AugmentedError<ApiType>;257 };258 parachainSystem: {259 /**260 * The inherent which supplies the host configuration did not run this block261 **/262 HostConfigurationNotAvailable: AugmentedError<ApiType>;263 /**264 * No code upgrade has been authorized.265 **/266 NothingAuthorized: AugmentedError<ApiType>;267 /**268 * No validation function upgrade is currently scheduled.269 **/270 NotScheduled: AugmentedError<ApiType>;271 /**272 * Attempt to upgrade validation function while existing upgrade pending273 **/274 OverlappingUpgrades: AugmentedError<ApiType>;275 /**276 * Polkadot currently prohibits this parachain from upgrading its validation function277 **/278 ProhibitedByPolkadot: AugmentedError<ApiType>;279 /**280 * The supplied validation function has compiled into a blob larger than Polkadot is281 * willing to run282 **/283 TooBig: AugmentedError<ApiType>;284 /**285 * The given code upgrade has not been authorized.286 **/287 Unauthorized: AugmentedError<ApiType>;288 /**289 * The inherent which supplies the validation data did not run this block290 **/291 ValidationDataNotAvailable: AugmentedError<ApiType>;292 /**293 * Generic error294 **/295 [key: string]: AugmentedError<ApiType>;296 };297 polkadotXcm: {298 /**299 * The location is invalid since it already has a subscription from us.300 **/301 AlreadySubscribed: AugmentedError<ApiType>;302 /**303 * The given location could not be used (e.g. because it cannot be expressed in the304 * desired version of XCM).305 **/306 BadLocation: AugmentedError<ApiType>;307 /**308 * The version of the `Versioned` value used is not able to be interpreted.309 **/310 BadVersion: AugmentedError<ApiType>;311 /**312 * Could not re-anchor the assets to declare the fees for the destination chain.313 **/314 CannotReanchor: AugmentedError<ApiType>;315 /**316 * The destination `MultiLocation` provided cannot be inverted.317 **/318 DestinationNotInvertible: AugmentedError<ApiType>;319 /**320 * The assets to be sent are empty.321 **/322 Empty: AugmentedError<ApiType>;323 /**324 * The message execution fails the filter.325 **/326 Filtered: AugmentedError<ApiType>;327 /**328 * Origin is invalid for sending.329 **/330 InvalidOrigin: AugmentedError<ApiType>;331 /**332 * The referenced subscription could not be found.333 **/334 NoSubscription: AugmentedError<ApiType>;335 /**336 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps337 * a lack of space for buffering the message.338 **/339 SendFailure: AugmentedError<ApiType>;340 /**341 * Too many assets have been attempted for transfer.342 **/343 TooManyAssets: AugmentedError<ApiType>;344 /**345 * The desired destination was unreachable, generally because there is a no way of routing346 * to it.347 **/348 Unreachable: AugmentedError<ApiType>;349 /**350 * The message's weight could not be determined.351 **/352 UnweighableMessage: AugmentedError<ApiType>;353 /**354 * Generic error355 **/356 [key: string]: AugmentedError<ApiType>;357 };358 refungible: {359 /**360 * Not Refungible item data used to mint in Refungible collection.361 **/362 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;363 /**364 * Maximum refungibility exceeded365 **/366 WrongRefungiblePieces: AugmentedError<ApiType>;367 /**368 * Generic error369 **/370 [key: string]: AugmentedError<ApiType>;371 };372 sudo: {373 /**374 * Sender must be the Sudo account375 **/376 RequireSudo: AugmentedError<ApiType>;377 /**378 * Generic error379 **/380 [key: string]: AugmentedError<ApiType>;381 };382 system: {383 /**384 * Failed to extract the runtime version from the new runtime.385 * 386 * Either calling `Core_version` or decoding `RuntimeVersion` failed.387 **/388 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;389 /**390 * The name of specification does not match between the current runtime391 * and the new runtime.392 **/393 InvalidSpecName: AugmentedError<ApiType>;394 /**395 * Suicide called when the account has non-default composite data.396 **/397 NonDefaultComposite: AugmentedError<ApiType>;398 /**399 * There is a non-zero reference count preventing the account from being purged.400 **/401 NonZeroRefCount: AugmentedError<ApiType>;402 /**403 * The specification version is not allowed to decrease between the current runtime404 * and the new runtime.405 **/406 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;407 /**408 * Generic error409 **/410 [key: string]: AugmentedError<ApiType>;411 };412 treasury: {413 /**414 * Proposer's balance is too low.415 **/416 InsufficientProposersBalance: AugmentedError<ApiType>;417 /**418 * No proposal or bounty at that index.419 **/420 InvalidIndex: AugmentedError<ApiType>;421 /**422 * Too many approvals in the queue.423 **/424 TooManyApprovals: AugmentedError<ApiType>;425 /**426 * Generic error427 **/428 [key: string]: AugmentedError<ApiType>;429 };430 unique: {431 /**432 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.433 **/434 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;435 /**436 * Collection limit bounds per collection exceeded437 **/438 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;439 /**440 * This address is not set as sponsor, use setCollectionSponsor first.441 **/442 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;443 /**444 * Length of items properties must be greater than 0.445 **/446 EmptyArgument: AugmentedError<ApiType>;447 /**448 * Tried to enable permissions which are only permitted to be disabled449 **/450 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;451 /**452 * Generic error453 **/454 [key: string]: AugmentedError<ApiType>;455 };456 vesting: {457 /**458 * The vested transfer amount is too low459 **/460 AmountLow: AugmentedError<ApiType>;461 /**462 * Insufficient amount of balance to lock463 **/464 InsufficientBalanceToLock: AugmentedError<ApiType>;465 /**466 * Failed because the maximum vesting schedules was exceeded467 **/468 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;469 /**470 * This account have too many vesting schedules471 **/472 TooManyVestingSchedules: AugmentedError<ApiType>;473 /**474 * Vesting period is zero475 **/476 ZeroVestingPeriod: AugmentedError<ApiType>;477 /**478 * Number of vests is zero479 **/480 ZeroVestingPeriodCount: AugmentedError<ApiType>;481 /**482 * Generic error483 **/484 [key: string]: AugmentedError<ApiType>;485 };486 xcmpQueue: {487 /**488 * Bad XCM data.489 **/490 BadXcm: AugmentedError<ApiType>;491 /**492 * Bad XCM origin.493 **/494 BadXcmOrigin: AugmentedError<ApiType>;495 /**496 * Failed to send XCM message.497 **/498 FailedToSend: AugmentedError<ApiType>;499 /**500 * Generic error501 **/502 [key: string]: AugmentedError<ApiType>;503 };504 }505506 export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {507 [key: string]: ModuleErrors<ApiType>;508 }509}difftreelog
source
tests/src/interfaces/augment-api-errors.ts14.5 KiBsourcehistory