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 * No permission to perform action129 **/130 NoPermission: AugmentedError<ApiType>;131 /**132 * Tried to store more property data than allowed133 **/134 NoSpaceForProperty: AugmentedError<ApiType>;135 /**136 * Not sufficient funds to perform action137 **/138 NotSufficientFounds: AugmentedError<ApiType>;139 /**140 * Tried to enable permissions which are only permitted to be disabled141 **/142 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;143 /**144 * Property key is too long145 **/146 PropertyKeyIsTooLong: AugmentedError<ApiType>;147 /**148 * Tried to store more property keys than allowed149 **/150 PropertyLimitReached: AugmentedError<ApiType>;151 /**152 * Collection is not in mint mode.153 **/154 PublicMintingNotAllowed: AugmentedError<ApiType>;155 /**156 * Only tokens from specific collections may nest tokens under this157 **/158 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;159 /**160 * Item not exists.161 **/162 TokenNotFound: AugmentedError<ApiType>;163 /**164 * Item balance not enough.165 **/166 TokenValueTooLow: AugmentedError<ApiType>;167 /**168 * Total collections bound exceeded.169 **/170 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;171 /**172 * Collection settings not allowing items transferring173 **/174 TransferNotAllowed: AugmentedError<ApiType>;175 /**176 * Target collection doesn't supports this operation177 **/178 UnsupportedOperation: AugmentedError<ApiType>;179 /**180 * User not passed nesting rule181 **/182 UserIsNotAllowedToNest: AugmentedError<ApiType>;183 /**184 * Generic error185 **/186 [key: string]: AugmentedError<ApiType>;187 };188 cumulusXcm: {189 /**190 * Generic error191 **/192 [key: string]: AugmentedError<ApiType>;193 };194 dmpQueue: {195 /**196 * The amount of weight given is possibly not enough for executing the message.197 **/198 OverLimit: AugmentedError<ApiType>;199 /**200 * The message index given is unknown.201 **/202 Unknown: AugmentedError<ApiType>;203 /**204 * Generic error205 **/206 [key: string]: AugmentedError<ApiType>;207 };208 ethereum: {209 /**210 * Signature is invalid.211 **/212 InvalidSignature: AugmentedError<ApiType>;213 /**214 * Pre-log is present, therefore transact is not allowed.215 **/216 PreLogExists: AugmentedError<ApiType>;217 /**218 * Generic error219 **/220 [key: string]: AugmentedError<ApiType>;221 };222 evm: {223 /**224 * Not enough balance to perform action225 **/226 BalanceLow: AugmentedError<ApiType>;227 /**228 * Calculating total fee overflowed229 **/230 FeeOverflow: AugmentedError<ApiType>;231 /**232 * Gas price is too low.233 **/234 GasPriceTooLow: AugmentedError<ApiType>;235 /**236 * Nonce is invalid237 **/238 InvalidNonce: AugmentedError<ApiType>;239 /**240 * Calculating total payment overflowed241 **/242 PaymentOverflow: AugmentedError<ApiType>;243 /**244 * Withdraw fee failed245 **/246 WithdrawFailed: AugmentedError<ApiType>;247 /**248 * Generic error249 **/250 [key: string]: AugmentedError<ApiType>;251 };252 evmCoderSubstrate: {253 OutOfFund: AugmentedError<ApiType>;254 OutOfGas: AugmentedError<ApiType>;255 /**256 * Generic error257 **/258 [key: string]: AugmentedError<ApiType>;259 };260 evmContractHelpers: {261 /**262 * This method is only executable by owner263 **/264 NoPermission: AugmentedError<ApiType>;265 /**266 * Generic error267 **/268 [key: string]: AugmentedError<ApiType>;269 };270 evmMigration: {271 AccountIsNotMigrating: AugmentedError<ApiType>;272 AccountNotEmpty: AugmentedError<ApiType>;273 /**274 * Generic error275 **/276 [key: string]: AugmentedError<ApiType>;277 };278 fungible: {279 /**280 * Fungible token does not support nested281 **/282 FungibleDisallowsNesting: AugmentedError<ApiType>;283 /**284 * Tried to set data for fungible item285 **/286 FungibleItemsDontHaveData: AugmentedError<ApiType>;287 /**288 * Not default id passed as TokenId argument289 **/290 FungibleItemsHaveNoId: AugmentedError<ApiType>;291 /**292 * Not Fungible item data used to mint in Fungible collection.293 **/294 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;295 /**296 * Setting item properties is not allowed297 **/298 SettingPropertiesNotAllowed: AugmentedError<ApiType>;299 /**300 * Generic error301 **/302 [key: string]: AugmentedError<ApiType>;303 };304 nonfungible: {305 /**306 * Unable to burn NFT with children307 **/308 CantBurnNftWithChildren: AugmentedError<ApiType>;309 /**310 * Used amount > 1 with NFT311 **/312 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;313 /**314 * Not Nonfungible item data used to mint in Nonfungible collection.315 **/316 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;317 /**318 * Generic error319 **/320 [key: string]: AugmentedError<ApiType>;321 };322 parachainSystem: {323 /**324 * The inherent which supplies the host configuration did not run this block325 **/326 HostConfigurationNotAvailable: AugmentedError<ApiType>;327 /**328 * No code upgrade has been authorized.329 **/330 NothingAuthorized: AugmentedError<ApiType>;331 /**332 * No validation function upgrade is currently scheduled.333 **/334 NotScheduled: AugmentedError<ApiType>;335 /**336 * Attempt to upgrade validation function while existing upgrade pending337 **/338 OverlappingUpgrades: AugmentedError<ApiType>;339 /**340 * Polkadot currently prohibits this parachain from upgrading its validation function341 **/342 ProhibitedByPolkadot: AugmentedError<ApiType>;343 /**344 * The supplied validation function has compiled into a blob larger than Polkadot is345 * willing to run346 **/347 TooBig: AugmentedError<ApiType>;348 /**349 * The given code upgrade has not been authorized.350 **/351 Unauthorized: AugmentedError<ApiType>;352 /**353 * The inherent which supplies the validation data did not run this block354 **/355 ValidationDataNotAvailable: AugmentedError<ApiType>;356 /**357 * Generic error358 **/359 [key: string]: AugmentedError<ApiType>;360 };361 polkadotXcm: {362 /**363 * The location is invalid since it already has a subscription from us.364 **/365 AlreadySubscribed: AugmentedError<ApiType>;366 /**367 * The given location could not be used (e.g. because it cannot be expressed in the368 * desired version of XCM).369 **/370 BadLocation: AugmentedError<ApiType>;371 /**372 * The version of the `Versioned` value used is not able to be interpreted.373 **/374 BadVersion: AugmentedError<ApiType>;375 /**376 * Could not re-anchor the assets to declare the fees for the destination chain.377 **/378 CannotReanchor: AugmentedError<ApiType>;379 /**380 * The destination `MultiLocation` provided cannot be inverted.381 **/382 DestinationNotInvertible: AugmentedError<ApiType>;383 /**384 * The assets to be sent are empty.385 **/386 Empty: AugmentedError<ApiType>;387 /**388 * The message execution fails the filter.389 **/390 Filtered: AugmentedError<ApiType>;391 /**392 * Origin is invalid for sending.393 **/394 InvalidOrigin: AugmentedError<ApiType>;395 /**396 * The referenced subscription could not be found.397 **/398 NoSubscription: AugmentedError<ApiType>;399 /**400 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps401 * a lack of space for buffering the message.402 **/403 SendFailure: AugmentedError<ApiType>;404 /**405 * Too many assets have been attempted for transfer.406 **/407 TooManyAssets: AugmentedError<ApiType>;408 /**409 * The desired destination was unreachable, generally because there is a no way of routing410 * to it.411 **/412 Unreachable: AugmentedError<ApiType>;413 /**414 * The message's weight could not be determined.415 **/416 UnweighableMessage: AugmentedError<ApiType>;417 /**418 * Generic error419 **/420 [key: string]: AugmentedError<ApiType>;421 };422 refungible: {423 /**424 * Not Refungible item data used to mint in Refungible collection.425 **/426 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;427 /**428 * Refungible token can't nest other tokens429 **/430 RefungibleDisallowsNesting: AugmentedError<ApiType>;431 /**432 * Setting item properties is not allowed433 **/434 SettingPropertiesNotAllowed: AugmentedError<ApiType>;435 /**436 * Maximum refungibility exceeded437 **/438 WrongRefungiblePieces: AugmentedError<ApiType>;439 /**440 * Generic error441 **/442 [key: string]: AugmentedError<ApiType>;443 };444 rmrkCore: {445 CannotAcceptNonOwnedNft: AugmentedError<ApiType>;446 CannotRejectNonOwnedNft: AugmentedError<ApiType>;447 CannotSendToDescendentOrSelf: AugmentedError<ApiType>;448 CollectionFullOrLocked: AugmentedError<ApiType>;449 CollectionNotEmpty: AugmentedError<ApiType>;450 CollectionUnknown: AugmentedError<ApiType>;451 CorruptedCollectionType: AugmentedError<ApiType>;452 NftTypeEncodeError: AugmentedError<ApiType>;453 NoAvailableCollectionId: AugmentedError<ApiType>;454 NoAvailableNftId: AugmentedError<ApiType>;455 NonTransferable: AugmentedError<ApiType>;456 NoPermission: AugmentedError<ApiType>;457 ResourceDoesntExist: AugmentedError<ApiType>;458 ResourceNotPending: AugmentedError<ApiType>;459 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;460 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;461 UnableToDecodeRmrkData: AugmentedError<ApiType>;462 /**463 * Generic error464 **/465 [key: string]: AugmentedError<ApiType>;466 };467 rmrkEquip: {468 BaseDoesntExist: AugmentedError<ApiType>;469 NeedsDefaultThemeFirst: AugmentedError<ApiType>;470 NoAvailableBaseId: AugmentedError<ApiType>;471 NoAvailablePartId: AugmentedError<ApiType>;472 PermissionError: AugmentedError<ApiType>;473 /**474 * Generic error475 **/476 [key: string]: AugmentedError<ApiType>;477 };478 scheduler: {479 /**480 * Failed to schedule a call481 **/482 FailedToSchedule: AugmentedError<ApiType>;483 /**484 * Cannot find the scheduled call.485 **/486 NotFound: AugmentedError<ApiType>;487 /**488 * Reschedule failed because it does not change scheduled time.489 **/490 RescheduleNoChange: AugmentedError<ApiType>;491 /**492 * Given target block number is in the past.493 **/494 TargetBlockNumberInPast: AugmentedError<ApiType>;495 /**496 * Generic error497 **/498 [key: string]: AugmentedError<ApiType>;499 };500 structure: {501 /**502 * While iterating over children, encountered breadth limit503 **/504 BreadthLimit: AugmentedError<ApiType>;505 /**506 * While searched for owner, encountered depth limit507 **/508 DepthLimit: AugmentedError<ApiType>;509 /**510 * While searched for owner, got already checked account511 **/512 OuroborosDetected: AugmentedError<ApiType>;513 /**514 * While searched for owner, found token owner by not-yet-existing token515 **/516 TokenNotFound: AugmentedError<ApiType>;517 /**518 * Generic error519 **/520 [key: string]: AugmentedError<ApiType>;521 };522 sudo: {523 /**524 * Sender must be the Sudo account525 **/526 RequireSudo: AugmentedError<ApiType>;527 /**528 * Generic error529 **/530 [key: string]: AugmentedError<ApiType>;531 };532 system: {533 /**534 * The origin filter prevent the call to be dispatched.535 **/536 CallFiltered: AugmentedError<ApiType>;537 /**538 * Failed to extract the runtime version from the new runtime.539 * 540 * Either calling `Core_version` or decoding `RuntimeVersion` failed.541 **/542 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;543 /**544 * The name of specification does not match between the current runtime545 * and the new runtime.546 **/547 InvalidSpecName: AugmentedError<ApiType>;548 /**549 * Suicide called when the account has non-default composite data.550 **/551 NonDefaultComposite: AugmentedError<ApiType>;552 /**553 * There is a non-zero reference count preventing the account from being purged.554 **/555 NonZeroRefCount: AugmentedError<ApiType>;556 /**557 * The specification version is not allowed to decrease between the current runtime558 * and the new runtime.559 **/560 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;561 /**562 * Generic error563 **/564 [key: string]: AugmentedError<ApiType>;565 };566 treasury: {567 /**568 * Proposer's balance is too low.569 **/570 InsufficientProposersBalance: AugmentedError<ApiType>;571 /**572 * No proposal or bounty at that index.573 **/574 InvalidIndex: AugmentedError<ApiType>;575 /**576 * Proposal has not been approved.577 **/578 ProposalNotApproved: AugmentedError<ApiType>;579 /**580 * Too many approvals in the queue.581 **/582 TooManyApprovals: AugmentedError<ApiType>;583 /**584 * Generic error585 **/586 [key: string]: AugmentedError<ApiType>;587 };588 unique: {589 /**590 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.591 **/592 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;593 /**594 * This address is not set as sponsor, use setCollectionSponsor first.595 **/596 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;597 /**598 * Length of items properties must be greater than 0.599 **/600 EmptyArgument: AugmentedError<ApiType>;601 /**602 * Generic error603 **/604 [key: string]: AugmentedError<ApiType>;605 };606 vesting: {607 /**608 * The vested transfer amount is too low609 **/610 AmountLow: AugmentedError<ApiType>;611 /**612 * Insufficient amount of balance to lock613 **/614 InsufficientBalanceToLock: AugmentedError<ApiType>;615 /**616 * Failed because the maximum vesting schedules was exceeded617 **/618 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;619 /**620 * This account have too many vesting schedules621 **/622 TooManyVestingSchedules: AugmentedError<ApiType>;623 /**624 * Vesting period is zero625 **/626 ZeroVestingPeriod: AugmentedError<ApiType>;627 /**628 * Number of vests is zero629 **/630 ZeroVestingPeriodCount: AugmentedError<ApiType>;631 /**632 * Generic error633 **/634 [key: string]: AugmentedError<ApiType>;635 };636 xcmpQueue: {637 /**638 * Bad overweight index.639 **/640 BadOverweightIndex: AugmentedError<ApiType>;641 /**642 * Bad XCM data.643 **/644 BadXcm: AugmentedError<ApiType>;645 /**646 * Bad XCM origin.647 **/648 BadXcmOrigin: AugmentedError<ApiType>;649 /**650 * Failed to send XCM message.651 **/652 FailedToSend: AugmentedError<ApiType>;653 /**654 * Provided weight is possibly not enough to execute the message.655 **/656 WeightOverLimit: AugmentedError<ApiType>;657 /**658 * Generic error659 **/660 [key: string]: AugmentedError<ApiType>;661 };662 } // AugmentedErrors663} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts19.5 KiBsourcehistory