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 * Destroying only empty collections is allowed69 **/70 CantDestroyNotEmptyCollection: AugmentedError<ApiType>;71 /**72 * Exceeded max admin count73 **/74 CollectionAdminCountExceeded: AugmentedError<ApiType>;75 /**76 * Collection description can not be longer than 255 char.77 **/78 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;79 /**80 * Tried to store more data than allowed in collection field81 **/82 CollectionFieldSizeExceeded: AugmentedError<ApiType>;83 /**84 * Tried to access an external collection with an internal API85 **/86 CollectionIsExternal: AugmentedError<ApiType>;87 /**88 * Tried to access an internal collection with an external API89 **/90 CollectionIsInternal: AugmentedError<ApiType>;91 /**92 * Collection limit bounds per collection exceeded93 **/94 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;95 /**96 * Collection name can not be longer than 63 char.97 **/98 CollectionNameLimitExceeded: AugmentedError<ApiType>;99 /**100 * This collection does not exist.101 **/102 CollectionNotFound: AugmentedError<ApiType>;103 /**104 * Collection token limit exceeded105 **/106 CollectionTokenLimitExceeded: AugmentedError<ApiType>;107 /**108 * Token prefix can not be longer than 15 char.109 **/110 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;111 /**112 * Empty property keys are forbidden113 **/114 EmptyPropertyKey: AugmentedError<ApiType>;115 /**116 * Only ASCII letters, digits, and '_', '-' are allowed117 **/118 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;119 /**120 * Metadata flag frozen121 **/122 MetadataFlagFrozen: AugmentedError<ApiType>;123 /**124 * Sender parameter and item owner must be equal.125 **/126 MustBeTokenOwner: AugmentedError<ApiType>;127 /**128 * Collection has nesting disabled129 **/130 NestingIsDisabled: AugmentedError<ApiType>;131 /**132 * No permission to perform action133 **/134 NoPermission: AugmentedError<ApiType>;135 /**136 * Tried to store more property data than allowed137 **/138 NoSpaceForProperty: AugmentedError<ApiType>;139 /**140 * Not sufficient founds to perform action141 **/142 NotSufficientFounds: AugmentedError<ApiType>;143 /**144 * Only owner may nest tokens under this collection145 **/146 OnlyOwnerAllowedToNest: AugmentedError<ApiType>;147 /**148 * Tried to enable permissions which are only permitted to be disabled149 **/150 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;151 /**152 * Property key is too long153 **/154 PropertyKeyIsTooLong: AugmentedError<ApiType>;155 /**156 * Tried to store more property keys than allowed157 **/158 PropertyLimitReached: AugmentedError<ApiType>;159 /**160 * Collection is not in mint mode.161 **/162 PublicMintingNotAllowed: AugmentedError<ApiType>;163 /**164 * Only tokens from specific collections may nest tokens under this165 **/166 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;167 /**168 * Item not exists.169 **/170 TokenNotFound: AugmentedError<ApiType>;171 /**172 * Item balance not enough.173 **/174 TokenValueTooLow: AugmentedError<ApiType>;175 /**176 * Total collections bound exceeded.177 **/178 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;179 /**180 * Collection settings not allowing items transferring181 **/182 TransferNotAllowed: AugmentedError<ApiType>;183 /**184 * Target collection doesn't supports this operation185 **/186 UnsupportedOperation: AugmentedError<ApiType>;187 /**188 * Generic error189 **/190 [key: string]: AugmentedError<ApiType>;191 };192 cumulusXcm: {193 /**194 * Generic error195 **/196 [key: string]: AugmentedError<ApiType>;197 };198 dmpQueue: {199 /**200 * The amount of weight given is possibly not enough for executing the message.201 **/202 OverLimit: AugmentedError<ApiType>;203 /**204 * The message index given is unknown.205 **/206 Unknown: AugmentedError<ApiType>;207 /**208 * Generic error209 **/210 [key: string]: AugmentedError<ApiType>;211 };212 ethereum: {213 /**214 * Signature is invalid.215 **/216 InvalidSignature: AugmentedError<ApiType>;217 /**218 * Pre-log is present, therefore transact is not allowed.219 **/220 PreLogExists: AugmentedError<ApiType>;221 /**222 * Generic error223 **/224 [key: string]: AugmentedError<ApiType>;225 };226 evm: {227 /**228 * Not enough balance to perform action229 **/230 BalanceLow: AugmentedError<ApiType>;231 /**232 * Calculating total fee overflowed233 **/234 FeeOverflow: AugmentedError<ApiType>;235 /**236 * Gas price is too low.237 **/238 GasPriceTooLow: AugmentedError<ApiType>;239 /**240 * Nonce is invalid241 **/242 InvalidNonce: AugmentedError<ApiType>;243 /**244 * Calculating total payment overflowed245 **/246 PaymentOverflow: AugmentedError<ApiType>;247 /**248 * Withdraw fee failed249 **/250 WithdrawFailed: AugmentedError<ApiType>;251 /**252 * Generic error253 **/254 [key: string]: AugmentedError<ApiType>;255 };256 evmCoderSubstrate: {257 OutOfFund: AugmentedError<ApiType>;258 OutOfGas: AugmentedError<ApiType>;259 /**260 * Generic error261 **/262 [key: string]: AugmentedError<ApiType>;263 };264 evmContractHelpers: {265 /**266 * This method is only executable by owner267 **/268 NoPermission: AugmentedError<ApiType>;269 /**270 * Generic error271 **/272 [key: string]: AugmentedError<ApiType>;273 };274 evmMigration: {275 AccountIsNotMigrating: AugmentedError<ApiType>;276 AccountNotEmpty: AugmentedError<ApiType>;277 /**278 * Generic error279 **/280 [key: string]: AugmentedError<ApiType>;281 };282 fungible: {283 /**284 * Fungible token does not support nested285 **/286 FungibleDisallowsNesting: AugmentedError<ApiType>;287 /**288 * Tried to set data for fungible item289 **/290 FungibleItemsDontHaveData: AugmentedError<ApiType>;291 /**292 * Not default id passed as TokenId argument293 **/294 FungibleItemsHaveNoId: AugmentedError<ApiType>;295 /**296 * Not Fungible item data used to mint in Fungible collection.297 **/298 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;299 /**300 * Setting item properties is not allowed301 **/302 SettingPropertiesNotAllowed: AugmentedError<ApiType>;303 /**304 * Generic error305 **/306 [key: string]: AugmentedError<ApiType>;307 };308 nonfungible: {309 /**310 * Unable to burn NFT with children311 **/312 CantBurnNftWithChildren: AugmentedError<ApiType>;313 /**314 * Used amount > 1 with NFT315 **/316 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;317 /**318 * Not Nonfungible item data used to mint in Nonfungible collection.319 **/320 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;321 /**322 * Generic error323 **/324 [key: string]: AugmentedError<ApiType>;325 };326 parachainSystem: {327 /**328 * The inherent which supplies the host configuration did not run this block329 **/330 HostConfigurationNotAvailable: AugmentedError<ApiType>;331 /**332 * No code upgrade has been authorized.333 **/334 NothingAuthorized: AugmentedError<ApiType>;335 /**336 * No validation function upgrade is currently scheduled.337 **/338 NotScheduled: AugmentedError<ApiType>;339 /**340 * Attempt to upgrade validation function while existing upgrade pending341 **/342 OverlappingUpgrades: AugmentedError<ApiType>;343 /**344 * Polkadot currently prohibits this parachain from upgrading its validation function345 **/346 ProhibitedByPolkadot: AugmentedError<ApiType>;347 /**348 * The supplied validation function has compiled into a blob larger than Polkadot is349 * willing to run350 **/351 TooBig: AugmentedError<ApiType>;352 /**353 * The given code upgrade has not been authorized.354 **/355 Unauthorized: AugmentedError<ApiType>;356 /**357 * The inherent which supplies the validation data did not run this block358 **/359 ValidationDataNotAvailable: AugmentedError<ApiType>;360 /**361 * Generic error362 **/363 [key: string]: AugmentedError<ApiType>;364 };365 polkadotXcm: {366 /**367 * The location is invalid since it already has a subscription from us.368 **/369 AlreadySubscribed: AugmentedError<ApiType>;370 /**371 * The given location could not be used (e.g. because it cannot be expressed in the372 * desired version of XCM).373 **/374 BadLocation: AugmentedError<ApiType>;375 /**376 * The version of the `Versioned` value used is not able to be interpreted.377 **/378 BadVersion: AugmentedError<ApiType>;379 /**380 * Could not re-anchor the assets to declare the fees for the destination chain.381 **/382 CannotReanchor: AugmentedError<ApiType>;383 /**384 * The destination `MultiLocation` provided cannot be inverted.385 **/386 DestinationNotInvertible: AugmentedError<ApiType>;387 /**388 * The assets to be sent are empty.389 **/390 Empty: AugmentedError<ApiType>;391 /**392 * The message execution fails the filter.393 **/394 Filtered: AugmentedError<ApiType>;395 /**396 * Origin is invalid for sending.397 **/398 InvalidOrigin: AugmentedError<ApiType>;399 /**400 * The referenced subscription could not be found.401 **/402 NoSubscription: AugmentedError<ApiType>;403 /**404 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps405 * a lack of space for buffering the message.406 **/407 SendFailure: AugmentedError<ApiType>;408 /**409 * Too many assets have been attempted for transfer.410 **/411 TooManyAssets: AugmentedError<ApiType>;412 /**413 * The desired destination was unreachable, generally because there is a no way of routing414 * to it.415 **/416 Unreachable: AugmentedError<ApiType>;417 /**418 * The message's weight could not be determined.419 **/420 UnweighableMessage: AugmentedError<ApiType>;421 /**422 * Generic error423 **/424 [key: string]: AugmentedError<ApiType>;425 };426 refungible: {427 /**428 * Not Refungible item data used to mint in Refungible collection.429 **/430 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;431 /**432 * Refungible token can't nest other tokens433 **/434 RefungibleDisallowsNesting: AugmentedError<ApiType>;435 /**436 * Setting item properties is not allowed437 **/438 SettingPropertiesNotAllowed: AugmentedError<ApiType>;439 /**440 * Maximum refungibility exceeded441 **/442 WrongRefungiblePieces: AugmentedError<ApiType>;443 /**444 * Generic error445 **/446 [key: string]: AugmentedError<ApiType>;447 };448 rmrkCore: {449 CannotAcceptNonOwnedNft: AugmentedError<ApiType>;450 CannotRejectNonOwnedNft: AugmentedError<ApiType>;451 CannotSendToDescendentOrSelf: AugmentedError<ApiType>;452 CollectionFullOrLocked: AugmentedError<ApiType>;453 CollectionNotEmpty: AugmentedError<ApiType>;454 CollectionUnknown: AugmentedError<ApiType>;455 CorruptedCollectionType: AugmentedError<ApiType>;456 NftTypeEncodeError: AugmentedError<ApiType>;457 NoAvailableCollectionId: AugmentedError<ApiType>;458 NoAvailableNftId: AugmentedError<ApiType>;459 NonTransferable: AugmentedError<ApiType>;460 NoPermission: AugmentedError<ApiType>;461 ResourceDoesntExist: AugmentedError<ApiType>;462 ResourceNotPending: AugmentedError<ApiType>;463 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;464 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;465 /**466 * Generic error467 **/468 [key: string]: AugmentedError<ApiType>;469 };470 rmrkEquip: {471 BaseDoesntExist: AugmentedError<ApiType>;472 NeedsDefaultThemeFirst: AugmentedError<ApiType>;473 NoAvailableBaseId: AugmentedError<ApiType>;474 NoAvailablePartId: AugmentedError<ApiType>;475 PermissionError: AugmentedError<ApiType>;476 /**477 * Generic error478 **/479 [key: string]: AugmentedError<ApiType>;480 };481 structure: {482 /**483 * While searched for owner, encountered depth limit484 **/485 DepthLimit: AugmentedError<ApiType>;486 /**487 * While searched for owner, got already checked account488 **/489 OuroborosDetected: AugmentedError<ApiType>;490 /**491 * While searched for owner, found token owner by not-yet-existing token492 **/493 TokenNotFound: AugmentedError<ApiType>;494 /**495 * Generic error496 **/497 [key: string]: AugmentedError<ApiType>;498 };499 sudo: {500 /**501 * Sender must be the Sudo account502 **/503 RequireSudo: AugmentedError<ApiType>;504 /**505 * Generic error506 **/507 [key: string]: AugmentedError<ApiType>;508 };509 system: {510 /**511 * The origin filter prevent the call to be dispatched.512 **/513 CallFiltered: AugmentedError<ApiType>;514 /**515 * Failed to extract the runtime version from the new runtime.516 * 517 * Either calling `Core_version` or decoding `RuntimeVersion` failed.518 **/519 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;520 /**521 * The name of specification does not match between the current runtime522 * and the new runtime.523 **/524 InvalidSpecName: AugmentedError<ApiType>;525 /**526 * Suicide called when the account has non-default composite data.527 **/528 NonDefaultComposite: AugmentedError<ApiType>;529 /**530 * There is a non-zero reference count preventing the account from being purged.531 **/532 NonZeroRefCount: AugmentedError<ApiType>;533 /**534 * The specification version is not allowed to decrease between the current runtime535 * and the new runtime.536 **/537 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;538 /**539 * Generic error540 **/541 [key: string]: AugmentedError<ApiType>;542 };543 treasury: {544 /**545 * Proposer's balance is too low.546 **/547 InsufficientProposersBalance: AugmentedError<ApiType>;548 /**549 * No proposal or bounty at that index.550 **/551 InvalidIndex: AugmentedError<ApiType>;552 /**553 * Too many approvals in the queue.554 **/555 TooManyApprovals: AugmentedError<ApiType>;556 /**557 * Generic error558 **/559 [key: string]: AugmentedError<ApiType>;560 };561 unique: {562 /**563 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.564 **/565 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;566 /**567 * This address is not set as sponsor, use setCollectionSponsor first.568 **/569 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;570 /**571 * Length of items properties must be greater than 0.572 **/573 EmptyArgument: AugmentedError<ApiType>;574 /**575 * Generic error576 **/577 [key: string]: AugmentedError<ApiType>;578 };579 vesting: {580 /**581 * The vested transfer amount is too low582 **/583 AmountLow: AugmentedError<ApiType>;584 /**585 * Insufficient amount of balance to lock586 **/587 InsufficientBalanceToLock: AugmentedError<ApiType>;588 /**589 * Failed because the maximum vesting schedules was exceeded590 **/591 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;592 /**593 * This account have too many vesting schedules594 **/595 TooManyVestingSchedules: AugmentedError<ApiType>;596 /**597 * Vesting period is zero598 **/599 ZeroVestingPeriod: AugmentedError<ApiType>;600 /**601 * Number of vests is zero602 **/603 ZeroVestingPeriodCount: AugmentedError<ApiType>;604 /**605 * Generic error606 **/607 [key: string]: AugmentedError<ApiType>;608 };609 xcmpQueue: {610 /**611 * Bad overweight index.612 **/613 BadOverweightIndex: AugmentedError<ApiType>;614 /**615 * Bad XCM data.616 **/617 BadXcm: AugmentedError<ApiType>;618 /**619 * Bad XCM origin.620 **/621 BadXcmOrigin: AugmentedError<ApiType>;622 /**623 * Failed to send XCM message.624 **/625 FailedToSend: AugmentedError<ApiType>;626 /**627 * Provided weight is possibly not enough to execute the message.628 **/629 WeightOverLimit: AugmentedError<ApiType>;630 /**631 * Generic error632 **/633 [key: string]: AugmentedError<ApiType>;634 };635 } // AugmentedErrors636} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts18.8 KiBsourcehistory