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 balances: {15 /**16 * Beneficiary account must pre-exist17 **/18 DeadAccount: AugmentedError<ApiType>;19 /**20 * Value too low to create account due to existential deposit21 **/22 ExistentialDeposit: AugmentedError<ApiType>;23 /**24 * A vesting schedule already exists for this account25 **/26 ExistingVestingSchedule: AugmentedError<ApiType>;27 /**28 * Balance too low to send value29 **/30 InsufficientBalance: AugmentedError<ApiType>;31 /**32 * Transfer/payment would kill account33 **/34 KeepAlive: AugmentedError<ApiType>;35 /**36 * Account liquidity restrictions prevent withdrawal37 **/38 LiquidityRestrictions: AugmentedError<ApiType>;39 /**40 * Number of named reserves exceed MaxReserves41 **/42 TooManyReserves: AugmentedError<ApiType>;43 /**44 * Vesting balance too high to send value45 **/46 VestingBalance: AugmentedError<ApiType>;47 /**48 * Generic error49 **/50 [key: string]: AugmentedError<ApiType>;51 };52 common: {53 /**54 * Account token limit exceeded per collection55 **/56 AccountTokenLimitExceeded: AugmentedError<ApiType>;57 /**58 * Can't transfer tokens to ethereum zero address59 **/60 AddressIsZero: AugmentedError<ApiType>;61 /**62 * Address is not in allow list.63 **/64 AddressNotInAllowlist: AugmentedError<ApiType>;65 /**66 * Requested value is more than the approved67 **/68 ApprovedValueTooLow: AugmentedError<ApiType>;69 /**70 * Tried to approve more than owned71 **/72 CantApproveMoreThanOwned: AugmentedError<ApiType>;73 /**74 * Destroying only empty collections is allowed75 **/76 CantDestroyNotEmptyCollection: AugmentedError<ApiType>;77 /**78 * Exceeded max admin count79 **/80 CollectionAdminCountExceeded: AugmentedError<ApiType>;81 /**82 * Collection description can not be longer than 255 char.83 **/84 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;85 /**86 * Tried to store more data than allowed in collection field87 **/88 CollectionFieldSizeExceeded: AugmentedError<ApiType>;89 /**90 * Tried to access an external collection with an internal API91 **/92 CollectionIsExternal: AugmentedError<ApiType>;93 /**94 * Tried to access an internal collection with an external API95 **/96 CollectionIsInternal: AugmentedError<ApiType>;97 /**98 * Collection limit bounds per collection exceeded99 **/100 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;101 /**102 * Collection name can not be longer than 63 char.103 **/104 CollectionNameLimitExceeded: AugmentedError<ApiType>;105 /**106 * This collection does not exist.107 **/108 CollectionNotFound: AugmentedError<ApiType>;109 /**110 * Collection token limit exceeded111 **/112 CollectionTokenLimitExceeded: AugmentedError<ApiType>;113 /**114 * Token prefix can not be longer than 15 char.115 **/116 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;117 /**118 * Empty property keys are forbidden119 **/120 EmptyPropertyKey: AugmentedError<ApiType>;121 /**122 * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed123 **/124 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;125 /**126 * Metadata flag frozen127 **/128 MetadataFlagFrozen: AugmentedError<ApiType>;129 /**130 * Sender parameter and item owner must be equal.131 **/132 MustBeTokenOwner: AugmentedError<ApiType>;133 /**134 * No permission to perform action135 **/136 NoPermission: AugmentedError<ApiType>;137 /**138 * Tried to store more property data than allowed139 **/140 NoSpaceForProperty: AugmentedError<ApiType>;141 /**142 * Insufficient funds to perform an action143 **/144 NotSufficientFounds: AugmentedError<ApiType>;145 /**146 * Tried to enable permissions which are only permitted to be disabled147 **/148 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;149 /**150 * Property key is too long151 **/152 PropertyKeyIsTooLong: AugmentedError<ApiType>;153 /**154 * Tried to store more property keys than allowed155 **/156 PropertyLimitReached: AugmentedError<ApiType>;157 /**158 * Collection is not in mint mode.159 **/160 PublicMintingNotAllowed: AugmentedError<ApiType>;161 /**162 * Only tokens from specific collections may nest tokens under this one163 **/164 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;165 /**166 * Item does not exist167 **/168 TokenNotFound: AugmentedError<ApiType>;169 /**170 * Item is balance not enough171 **/172 TokenValueTooLow: AugmentedError<ApiType>;173 /**174 * Total collections bound exceeded.175 **/176 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;177 /**178 * Collection settings not allowing items transferring179 **/180 TransferNotAllowed: AugmentedError<ApiType>;181 /**182 * The operation is not supported183 **/184 UnsupportedOperation: AugmentedError<ApiType>;185 /**186 * User does not satisfy the nesting rule187 **/188 UserIsNotAllowedToNest: AugmentedError<ApiType>;189 /**190 * Generic error191 **/192 [key: string]: AugmentedError<ApiType>;193 };194 cumulusXcm: {195 /**196 * Generic error197 **/198 [key: string]: AugmentedError<ApiType>;199 };200 dmpQueue: {201 /**202 * The amount of weight given is possibly not enough for executing the message.203 **/204 OverLimit: AugmentedError<ApiType>;205 /**206 * The message index given is unknown.207 **/208 Unknown: AugmentedError<ApiType>;209 /**210 * Generic error211 **/212 [key: string]: AugmentedError<ApiType>;213 };214 ethereum: {215 /**216 * Signature is invalid.217 **/218 InvalidSignature: AugmentedError<ApiType>;219 /**220 * Pre-log is present, therefore transact is not allowed.221 **/222 PreLogExists: AugmentedError<ApiType>;223 /**224 * Generic error225 **/226 [key: string]: AugmentedError<ApiType>;227 };228 evm: {229 /**230 * Not enough balance to perform action231 **/232 BalanceLow: AugmentedError<ApiType>;233 /**234 * Calculating total fee overflowed235 **/236 FeeOverflow: AugmentedError<ApiType>;237 /**238 * Gas price is too low.239 **/240 GasPriceTooLow: AugmentedError<ApiType>;241 /**242 * Nonce is invalid243 **/244 InvalidNonce: AugmentedError<ApiType>;245 /**246 * Calculating total payment overflowed247 **/248 PaymentOverflow: AugmentedError<ApiType>;249 /**250 * Withdraw fee failed251 **/252 WithdrawFailed: AugmentedError<ApiType>;253 /**254 * Generic error255 **/256 [key: string]: AugmentedError<ApiType>;257 };258 evmCoderSubstrate: {259 OutOfFund: AugmentedError<ApiType>;260 OutOfGas: AugmentedError<ApiType>;261 /**262 * Generic error263 **/264 [key: string]: AugmentedError<ApiType>;265 };266 evmContractHelpers: {267 /**268 * This method is only executable by owner269 **/270 NoPermission: AugmentedError<ApiType>;271 /**272 * Generic error273 **/274 [key: string]: AugmentedError<ApiType>;275 };276 evmMigration: {277 AccountIsNotMigrating: AugmentedError<ApiType>;278 AccountNotEmpty: AugmentedError<ApiType>;279 /**280 * Generic error281 **/282 [key: string]: AugmentedError<ApiType>;283 };284 fungible: {285 /**286 * Fungible token does not support nesting.287 **/288 FungibleDisallowsNesting: AugmentedError<ApiType>;289 /**290 * Tried to set data for fungible item.291 **/292 FungibleItemsDontHaveData: AugmentedError<ApiType>;293 /**294 * Fungible tokens hold no ID, and the default value of TokenId for Fungible collection is 0.295 **/296 FungibleItemsHaveNoId: AugmentedError<ApiType>;297 /**298 * Not Fungible item data used to mint in Fungible collection.299 **/300 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;301 /**302 * Setting item properties is not allowed.303 **/304 SettingPropertiesNotAllowed: AugmentedError<ApiType>;305 /**306 * Generic error307 **/308 [key: string]: AugmentedError<ApiType>;309 };310 nonfungible: {311 /**312 * Unable to burn NFT with children313 **/314 CantBurnNftWithChildren: AugmentedError<ApiType>;315 /**316 * Used amount > 1 with NFT317 **/318 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;319 /**320 * Not Nonfungible item data used to mint in Nonfungible collection.321 **/322 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;323 /**324 * Generic error325 **/326 [key: string]: AugmentedError<ApiType>;327 };328 parachainSystem: {329 /**330 * The inherent which supplies the host configuration did not run this block331 **/332 HostConfigurationNotAvailable: AugmentedError<ApiType>;333 /**334 * No code upgrade has been authorized.335 **/336 NothingAuthorized: AugmentedError<ApiType>;337 /**338 * No validation function upgrade is currently scheduled.339 **/340 NotScheduled: AugmentedError<ApiType>;341 /**342 * Attempt to upgrade validation function while existing upgrade pending343 **/344 OverlappingUpgrades: AugmentedError<ApiType>;345 /**346 * Polkadot currently prohibits this parachain from upgrading its validation function347 **/348 ProhibitedByPolkadot: AugmentedError<ApiType>;349 /**350 * The supplied validation function has compiled into a blob larger than Polkadot is351 * willing to run352 **/353 TooBig: AugmentedError<ApiType>;354 /**355 * The given code upgrade has not been authorized.356 **/357 Unauthorized: AugmentedError<ApiType>;358 /**359 * The inherent which supplies the validation data did not run this block360 **/361 ValidationDataNotAvailable: AugmentedError<ApiType>;362 /**363 * Generic error364 **/365 [key: string]: AugmentedError<ApiType>;366 };367 polkadotXcm: {368 /**369 * The location is invalid since it already has a subscription from us.370 **/371 AlreadySubscribed: AugmentedError<ApiType>;372 /**373 * The given location could not be used (e.g. because it cannot be expressed in the374 * desired version of XCM).375 **/376 BadLocation: AugmentedError<ApiType>;377 /**378 * The version of the `Versioned` value used is not able to be interpreted.379 **/380 BadVersion: AugmentedError<ApiType>;381 /**382 * Could not re-anchor the assets to declare the fees for the destination chain.383 **/384 CannotReanchor: AugmentedError<ApiType>;385 /**386 * The destination `MultiLocation` provided cannot be inverted.387 **/388 DestinationNotInvertible: AugmentedError<ApiType>;389 /**390 * The assets to be sent are empty.391 **/392 Empty: AugmentedError<ApiType>;393 /**394 * The message execution fails the filter.395 **/396 Filtered: AugmentedError<ApiType>;397 /**398 * Origin is invalid for sending.399 **/400 InvalidOrigin: AugmentedError<ApiType>;401 /**402 * The referenced subscription could not be found.403 **/404 NoSubscription: AugmentedError<ApiType>;405 /**406 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps407 * a lack of space for buffering the message.408 **/409 SendFailure: AugmentedError<ApiType>;410 /**411 * Too many assets have been attempted for transfer.412 **/413 TooManyAssets: AugmentedError<ApiType>;414 /**415 * The desired destination was unreachable, generally because there is a no way of routing416 * to it.417 **/418 Unreachable: AugmentedError<ApiType>;419 /**420 * The message's weight could not be determined.421 **/422 UnweighableMessage: AugmentedError<ApiType>;423 /**424 * Generic error425 **/426 [key: string]: AugmentedError<ApiType>;427 };428 refungible: {429 /**430 * Not Refungible item data used to mint in Refungible collection.431 **/432 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;433 /**434 * Refungible token can't nest other tokens.435 **/436 RefungibleDisallowsNesting: AugmentedError<ApiType>;437 /**438 * Refungible token can't be repartitioned by user who isn't owns all pieces.439 **/440 RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;441 /**442 * Setting item properties is not allowed.443 **/444 SettingPropertiesNotAllowed: AugmentedError<ApiType>;445 /**446 * Maximum refungibility exceeded.447 **/448 WrongRefungiblePieces: AugmentedError<ApiType>;449 /**450 * Generic error451 **/452 [key: string]: AugmentedError<ApiType>;453 };454 rmrkCore: {455 /**456 * Not the target owner of the sent NFT.457 **/458 CannotAcceptNonOwnedNft: AugmentedError<ApiType>;459 /**460 * Not the target owner of the sent NFT.461 **/462 CannotRejectNonOwnedNft: AugmentedError<ApiType>;463 /**464 * NFT was not sent and is not pending.465 **/466 CannotRejectNonPendingNft: AugmentedError<ApiType>;467 /**468 * If an NFT is sent to a descendant, that would form a nesting loop, an ouroboros.469 * Sending to self is redundant.470 **/471 CannotSendToDescendentOrSelf: AugmentedError<ApiType>;472 /**473 * Too many tokens created in the collection, no new ones are allowed.474 **/475 CollectionFullOrLocked: AugmentedError<ApiType>;476 /**477 * Only destroying collections without tokens is allowed.478 **/479 CollectionNotEmpty: AugmentedError<ApiType>;480 /**481 * Collection does not exist, has a wrong type, or does not map to a Unique ID.482 **/483 CollectionUnknown: AugmentedError<ApiType>;484 /**485 * Property of the type of RMRK collection could not be read successfully.486 **/487 CorruptedCollectionType: AugmentedError<ApiType>;488 /**489 * Could not find an ID for a collection. It is likely there were too many collections created on the chain, causing an overflow.490 **/491 NoAvailableCollectionId: AugmentedError<ApiType>;492 /**493 * Token does not exist, or there is no suitable ID for it, likely too many tokens were created in a collection, causing an overflow.494 **/495 NoAvailableNftId: AugmentedError<ApiType>;496 /**497 * Could not find an ID for the resource. It is likely there were too many resources created on an NFT, causing an overflow.498 **/499 NoAvailableResourceId: AugmentedError<ApiType>;500 /**501 * Token is marked as non-transferable, and thus cannot be transferred.502 **/503 NonTransferable: AugmentedError<ApiType>;504 /**505 * No permission to perform action.506 **/507 NoPermission: AugmentedError<ApiType>;508 /**509 * No such resource found.510 **/511 ResourceDoesntExist: AugmentedError<ApiType>;512 /**513 * Resource is not pending for the operation.514 **/515 ResourceNotPending: AugmentedError<ApiType>;516 /**517 * Could not find a property by the supplied key.518 **/519 RmrkPropertyIsNotFound: AugmentedError<ApiType>;520 /**521 * Too many symbols supplied as the property key. The maximum is [256](up_data_structs::MAX_PROPERTY_KEY_LENGTH).522 **/523 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;524 /**525 * Too many bytes supplied as the property value. The maximum is [32768](up_data_structs::MAX_PROPERTY_VALUE_LENGTH).526 **/527 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;528 /**529 * Something went wrong when decoding encoded data from the storage.530 * Perhaps, there was a wrong key supplied for the type, or the data was improperly stored.531 **/532 UnableToDecodeRmrkData: AugmentedError<ApiType>;533 /**534 * Generic error535 **/536 [key: string]: AugmentedError<ApiType>;537 };538 rmrkEquip: {539 /**540 * Base collection linked to this ID does not exist.541 **/542 BaseDoesntExist: AugmentedError<ApiType>;543 /**544 * No Theme named "default" is associated with the Base.545 **/546 NeedsDefaultThemeFirst: AugmentedError<ApiType>;547 /**548 * Could not find an ID for a Base collection. It is likely there were too many collections created on the chain, causing an overflow.549 **/550 NoAvailableBaseId: AugmentedError<ApiType>;551 /**552 * Could not find a suitable ID for a Part, likely too many Part tokens were created in the Base, causing an overflow553 **/554 NoAvailablePartId: AugmentedError<ApiType>;555 /**556 * Cannot assign equippables to a fixed Part.557 **/558 NoEquippableOnFixedPart: AugmentedError<ApiType>;559 /**560 * Part linked to this ID does not exist.561 **/562 PartDoesntExist: AugmentedError<ApiType>;563 /**564 * No permission to perform action.565 **/566 PermissionError: AugmentedError<ApiType>;567 /**568 * Generic error569 **/570 [key: string]: AugmentedError<ApiType>;571 };572 scheduler: {573 /**574 * Failed to schedule a call575 **/576 FailedToSchedule: AugmentedError<ApiType>;577 /**578 * Cannot find the scheduled call.579 **/580 NotFound: AugmentedError<ApiType>;581 /**582 * Reschedule failed because it does not change scheduled time.583 **/584 RescheduleNoChange: AugmentedError<ApiType>;585 /**586 * Given target block number is in the past.587 **/588 TargetBlockNumberInPast: AugmentedError<ApiType>;589 /**590 * Generic error591 **/592 [key: string]: AugmentedError<ApiType>;593 };594 structure: {595 /**596 * While nesting, reached the breadth limit of nesting, exceeding the provided budget.597 **/598 BreadthLimit: AugmentedError<ApiType>;599 /**600 * While nesting, reached the depth limit of nesting, exceeding the provided budget.601 **/602 DepthLimit: AugmentedError<ApiType>;603 /**604 * While nesting, encountered an already checked account, detecting a loop.605 **/606 OuroborosDetected: AugmentedError<ApiType>;607 /**608 * Couldn't find the token owner that is itself a token.609 **/610 TokenNotFound: AugmentedError<ApiType>;611 /**612 * Generic error613 **/614 [key: string]: AugmentedError<ApiType>;615 };616 sudo: {617 /**618 * Sender must be the Sudo account619 **/620 RequireSudo: AugmentedError<ApiType>;621 /**622 * Generic error623 **/624 [key: string]: AugmentedError<ApiType>;625 };626 system: {627 /**628 * The origin filter prevent the call to be dispatched.629 **/630 CallFiltered: AugmentedError<ApiType>;631 /**632 * Failed to extract the runtime version from the new runtime.633 * 634 * Either calling `Core_version` or decoding `RuntimeVersion` failed.635 **/636 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;637 /**638 * The name of specification does not match between the current runtime639 * and the new runtime.640 **/641 InvalidSpecName: AugmentedError<ApiType>;642 /**643 * Suicide called when the account has non-default composite data.644 **/645 NonDefaultComposite: AugmentedError<ApiType>;646 /**647 * There is a non-zero reference count preventing the account from being purged.648 **/649 NonZeroRefCount: AugmentedError<ApiType>;650 /**651 * The specification version is not allowed to decrease between the current runtime652 * and the new runtime.653 **/654 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;655 /**656 * Generic error657 **/658 [key: string]: AugmentedError<ApiType>;659 };660 treasury: {661 /**662 * The spend origin is valid but the amount it is allowed to spend is lower than the663 * amount to be spent.664 **/665 InsufficientPermission: AugmentedError<ApiType>;666 /**667 * Proposer's balance is too low.668 **/669 InsufficientProposersBalance: AugmentedError<ApiType>;670 /**671 * No proposal or bounty at that index.672 **/673 InvalidIndex: AugmentedError<ApiType>;674 /**675 * Proposal has not been approved.676 **/677 ProposalNotApproved: AugmentedError<ApiType>;678 /**679 * Too many approvals in the queue.680 **/681 TooManyApprovals: AugmentedError<ApiType>;682 /**683 * Generic error684 **/685 [key: string]: AugmentedError<ApiType>;686 };687 unique: {688 /**689 * Decimal_points parameter must be lower than [`up_data_structs::MAX_DECIMAL_POINTS`].690 **/691 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;692 /**693 * This address is not set as sponsor, use setCollectionSponsor first.694 **/695 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;696 /**697 * Length of items properties must be greater than 0.698 **/699 EmptyArgument: AugmentedError<ApiType>;700 /**701 * Repertition is only supported by refungible collection.702 **/703 RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;704 /**705 * Generic error706 **/707 [key: string]: AugmentedError<ApiType>;708 };709 vesting: {710 /**711 * The vested transfer amount is too low712 **/713 AmountLow: AugmentedError<ApiType>;714 /**715 * Insufficient amount of balance to lock716 **/717 InsufficientBalanceToLock: AugmentedError<ApiType>;718 /**719 * Failed because the maximum vesting schedules was exceeded720 **/721 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;722 /**723 * This account have too many vesting schedules724 **/725 TooManyVestingSchedules: AugmentedError<ApiType>;726 /**727 * Vesting period is zero728 **/729 ZeroVestingPeriod: AugmentedError<ApiType>;730 /**731 * Number of vests is zero732 **/733 ZeroVestingPeriodCount: AugmentedError<ApiType>;734 /**735 * Generic error736 **/737 [key: string]: AugmentedError<ApiType>;738 };739 xcmpQueue: {740 /**741 * Bad overweight index.742 **/743 BadOverweightIndex: AugmentedError<ApiType>;744 /**745 * Bad XCM data.746 **/747 BadXcm: AugmentedError<ApiType>;748 /**749 * Bad XCM origin.750 **/751 BadXcmOrigin: AugmentedError<ApiType>;752 /**753 * Failed to send XCM message.754 **/755 FailedToSend: AugmentedError<ApiType>;756 /**757 * Provided weight is possibly not enough to execute the message.758 **/759 WeightOverLimit: AugmentedError<ApiType>;760 /**761 * Generic error762 **/763 [key: string]: AugmentedError<ApiType>;764 };765 } // AugmentedErrors766} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts23.3 KiBsourcehistory