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 * Collection limit bounds per collection exceeded85 **/86 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;87 /**88 * Collection name can not be longer than 63 char.89 **/90 CollectionNameLimitExceeded: AugmentedError<ApiType>;91 /**92 * This collection does not exist.93 **/94 CollectionNotFound: AugmentedError<ApiType>;95 /**96 * Collection token limit exceeded97 **/98 CollectionTokenLimitExceeded: AugmentedError<ApiType>;99 /**100 * Token prefix can not be longer than 15 char.101 **/102 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;103 /**104 * Empty property keys are forbidden105 **/106 EmptyPropertyKey: AugmentedError<ApiType>;107 /**108 * Only ASCII letters, digits, and '_', '-' are allowed109 **/110 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;111 /**112 * Metadata flag frozen113 **/114 MetadataFlagFrozen: AugmentedError<ApiType>;115 /**116 * Sender parameter and item owner must be equal.117 **/118 MustBeTokenOwner: AugmentedError<ApiType>;119 /**120 * Collection has nesting disabled121 **/122 NestingIsDisabled: AugmentedError<ApiType>;123 /**124 * No permission to perform action125 **/126 NoPermission: AugmentedError<ApiType>;127 /**128 * Tried to store more property data than allowed129 **/130 NoSpaceForProperty: AugmentedError<ApiType>;131 /**132 * Not sufficient founds to perform action133 **/134 NotSufficientFounds: AugmentedError<ApiType>;135 /**136 * Only owner may nest tokens under this collection137 **/138 OnlyOwnerAllowedToNest: 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 * Generic error181 **/182 [key: string]: AugmentedError<ApiType>;183 };184 cumulusXcm: {185 /**186 * Generic error187 **/188 [key: string]: AugmentedError<ApiType>;189 };190 dmpQueue: {191 /**192 * The amount of weight given is possibly not enough for executing the message.193 **/194 OverLimit: AugmentedError<ApiType>;195 /**196 * The message index given is unknown.197 **/198 Unknown: AugmentedError<ApiType>;199 /**200 * Generic error201 **/202 [key: string]: AugmentedError<ApiType>;203 };204 ethereum: {205 /**206 * Signature is invalid.207 **/208 InvalidSignature: AugmentedError<ApiType>;209 /**210 * Pre-log is present, therefore transact is not allowed.211 **/212 PreLogExists: AugmentedError<ApiType>;213 /**214 * Generic error215 **/216 [key: string]: AugmentedError<ApiType>;217 };218 evm: {219 /**220 * Not enough balance to perform action221 **/222 BalanceLow: AugmentedError<ApiType>;223 /**224 * Calculating total fee overflowed225 **/226 FeeOverflow: AugmentedError<ApiType>;227 /**228 * Gas price is too low.229 **/230 GasPriceTooLow: AugmentedError<ApiType>;231 /**232 * Nonce is invalid233 **/234 InvalidNonce: AugmentedError<ApiType>;235 /**236 * Calculating total payment overflowed237 **/238 PaymentOverflow: AugmentedError<ApiType>;239 /**240 * Withdraw fee failed241 **/242 WithdrawFailed: AugmentedError<ApiType>;243 /**244 * Generic error245 **/246 [key: string]: AugmentedError<ApiType>;247 };248 evmCoderSubstrate: {249 OutOfFund: AugmentedError<ApiType>;250 OutOfGas: AugmentedError<ApiType>;251 /**252 * Generic error253 **/254 [key: string]: AugmentedError<ApiType>;255 };256 evmContractHelpers: {257 /**258 * This method is only executable by owner259 **/260 NoPermission: AugmentedError<ApiType>;261 /**262 * Generic error263 **/264 [key: string]: AugmentedError<ApiType>;265 };266 evmMigration: {267 AccountIsNotMigrating: AugmentedError<ApiType>;268 AccountNotEmpty: AugmentedError<ApiType>;269 /**270 * Generic error271 **/272 [key: string]: AugmentedError<ApiType>;273 };274 fungible: {275 /**276 * Fungible token does not support nested277 **/278 FungibleDisallowsNesting: AugmentedError<ApiType>;279 /**280 * Tried to set data for fungible item281 **/282 FungibleItemsDontHaveData: AugmentedError<ApiType>;283 /**284 * Not default id passed as TokenId argument285 **/286 FungibleItemsHaveNoId: AugmentedError<ApiType>;287 /**288 * Not Fungible item data used to mint in Fungible collection.289 **/290 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;291 /**292 * Setting item properties is not allowed293 **/294 SettingPropertiesNotAllowed: AugmentedError<ApiType>;295 /**296 * Generic error297 **/298 [key: string]: AugmentedError<ApiType>;299 };300 nonfungible: {301 /**302 * Unable to burn NFT with children303 **/304 CantBurnNftWithChildren: AugmentedError<ApiType>;305 /**306 * Used amount > 1 with NFT307 **/308 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;309 /**310 * Not Nonfungible item data used to mint in Nonfungible collection.311 **/312 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;313 /**314 * Generic error315 **/316 [key: string]: AugmentedError<ApiType>;317 };318 parachainSystem: {319 /**320 * The inherent which supplies the host configuration did not run this block321 **/322 HostConfigurationNotAvailable: AugmentedError<ApiType>;323 /**324 * No code upgrade has been authorized.325 **/326 NothingAuthorized: AugmentedError<ApiType>;327 /**328 * No validation function upgrade is currently scheduled.329 **/330 NotScheduled: AugmentedError<ApiType>;331 /**332 * Attempt to upgrade validation function while existing upgrade pending333 **/334 OverlappingUpgrades: AugmentedError<ApiType>;335 /**336 * Polkadot currently prohibits this parachain from upgrading its validation function337 **/338 ProhibitedByPolkadot: AugmentedError<ApiType>;339 /**340 * The supplied validation function has compiled into a blob larger than Polkadot is341 * willing to run342 **/343 TooBig: AugmentedError<ApiType>;344 /**345 * The given code upgrade has not been authorized.346 **/347 Unauthorized: AugmentedError<ApiType>;348 /**349 * The inherent which supplies the validation data did not run this block350 **/351 ValidationDataNotAvailable: AugmentedError<ApiType>;352 /**353 * Generic error354 **/355 [key: string]: AugmentedError<ApiType>;356 };357 polkadotXcm: {358 /**359 * The location is invalid since it already has a subscription from us.360 **/361 AlreadySubscribed: AugmentedError<ApiType>;362 /**363 * The given location could not be used (e.g. because it cannot be expressed in the364 * desired version of XCM).365 **/366 BadLocation: AugmentedError<ApiType>;367 /**368 * The version of the `Versioned` value used is not able to be interpreted.369 **/370 BadVersion: AugmentedError<ApiType>;371 /**372 * Could not re-anchor the assets to declare the fees for the destination chain.373 **/374 CannotReanchor: AugmentedError<ApiType>;375 /**376 * The destination `MultiLocation` provided cannot be inverted.377 **/378 DestinationNotInvertible: AugmentedError<ApiType>;379 /**380 * The assets to be sent are empty.381 **/382 Empty: AugmentedError<ApiType>;383 /**384 * The message execution fails the filter.385 **/386 Filtered: AugmentedError<ApiType>;387 /**388 * Origin is invalid for sending.389 **/390 InvalidOrigin: AugmentedError<ApiType>;391 /**392 * The referenced subscription could not be found.393 **/394 NoSubscription: AugmentedError<ApiType>;395 /**396 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps397 * a lack of space for buffering the message.398 **/399 SendFailure: AugmentedError<ApiType>;400 /**401 * Too many assets have been attempted for transfer.402 **/403 TooManyAssets: AugmentedError<ApiType>;404 /**405 * The desired destination was unreachable, generally because there is a no way of routing406 * to it.407 **/408 Unreachable: AugmentedError<ApiType>;409 /**410 * The message's weight could not be determined.411 **/412 UnweighableMessage: AugmentedError<ApiType>;413 /**414 * Generic error415 **/416 [key: string]: AugmentedError<ApiType>;417 };418 refungible: {419 /**420 * Not Refungible item data used to mint in Refungible collection.421 **/422 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;423 /**424 * Refungible token can't nest other tokens425 **/426 RefungibleDisallowsNesting: AugmentedError<ApiType>;427 /**428 * Setting item properties is not allowed429 **/430 SettingPropertiesNotAllowed: AugmentedError<ApiType>;431 /**432 * Maximum refungibility exceeded433 **/434 WrongRefungiblePieces: AugmentedError<ApiType>;435 /**436 * Generic error437 **/438 [key: string]: AugmentedError<ApiType>;439 };440 rmrkCore: {441 CollectionFullOrLocked: AugmentedError<ApiType>;442 CollectionNotEmpty: AugmentedError<ApiType>;443 CollectionUnknown: AugmentedError<ApiType>;444 CorruptedCollectionType: AugmentedError<ApiType>;445 NftTypeEncodeError: AugmentedError<ApiType>;446 NoAvailableCollectionId: AugmentedError<ApiType>;447 NoAvailableNftId: AugmentedError<ApiType>;448 NoPermission: AugmentedError<ApiType>;449 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;450 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;451 /**452 * Generic error453 **/454 [key: string]: AugmentedError<ApiType>;455 };456 rmrkEquip: {457 BaseDoesntExist: AugmentedError<ApiType>;458 NeedsDefaultThemeFirst: AugmentedError<ApiType>;459 NoAvailableBaseId: AugmentedError<ApiType>;460 NoAvailablePartId: AugmentedError<ApiType>;461 PermissionError: AugmentedError<ApiType>;462 /**463 * Generic error464 **/465 [key: string]: AugmentedError<ApiType>;466 };467 structure: {468 /**469 * While searched for owner, encountered depth limit470 **/471 DepthLimit: AugmentedError<ApiType>;472 /**473 * While searched for owner, got already checked account474 **/475 OuroborosDetected: AugmentedError<ApiType>;476 /**477 * While searched for owner, found token owner by not-yet-existing token478 **/479 TokenNotFound: AugmentedError<ApiType>;480 /**481 * Generic error482 **/483 [key: string]: AugmentedError<ApiType>;484 };485 sudo: {486 /**487 * Sender must be the Sudo account488 **/489 RequireSudo: AugmentedError<ApiType>;490 /**491 * Generic error492 **/493 [key: string]: AugmentedError<ApiType>;494 };495 system: {496 /**497 * The origin filter prevent the call to be dispatched.498 **/499 CallFiltered: AugmentedError<ApiType>;500 /**501 * Failed to extract the runtime version from the new runtime.502 * 503 * Either calling `Core_version` or decoding `RuntimeVersion` failed.504 **/505 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;506 /**507 * The name of specification does not match between the current runtime508 * and the new runtime.509 **/510 InvalidSpecName: AugmentedError<ApiType>;511 /**512 * Suicide called when the account has non-default composite data.513 **/514 NonDefaultComposite: AugmentedError<ApiType>;515 /**516 * There is a non-zero reference count preventing the account from being purged.517 **/518 NonZeroRefCount: AugmentedError<ApiType>;519 /**520 * The specification version is not allowed to decrease between the current runtime521 * and the new runtime.522 **/523 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;524 /**525 * Generic error526 **/527 [key: string]: AugmentedError<ApiType>;528 };529 treasury: {530 /**531 * Proposer's balance is too low.532 **/533 InsufficientProposersBalance: AugmentedError<ApiType>;534 /**535 * No proposal or bounty at that index.536 **/537 InvalidIndex: AugmentedError<ApiType>;538 /**539 * Too many approvals in the queue.540 **/541 TooManyApprovals: AugmentedError<ApiType>;542 /**543 * Generic error544 **/545 [key: string]: AugmentedError<ApiType>;546 };547 unique: {548 /**549 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.550 **/551 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;552 /**553 * This address is not set as sponsor, use setCollectionSponsor first.554 **/555 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;556 /**557 * Length of items properties must be greater than 0.558 **/559 EmptyArgument: AugmentedError<ApiType>;560 /**561 * Generic error562 **/563 [key: string]: AugmentedError<ApiType>;564 };565 vesting: {566 /**567 * The vested transfer amount is too low568 **/569 AmountLow: AugmentedError<ApiType>;570 /**571 * Insufficient amount of balance to lock572 **/573 InsufficientBalanceToLock: AugmentedError<ApiType>;574 /**575 * Failed because the maximum vesting schedules was exceeded576 **/577 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;578 /**579 * This account have too many vesting schedules580 **/581 TooManyVestingSchedules: AugmentedError<ApiType>;582 /**583 * Vesting period is zero584 **/585 ZeroVestingPeriod: AugmentedError<ApiType>;586 /**587 * Number of vests is zero588 **/589 ZeroVestingPeriodCount: AugmentedError<ApiType>;590 /**591 * Generic error592 **/593 [key: string]: AugmentedError<ApiType>;594 };595 xcmpQueue: {596 /**597 * Bad overweight index.598 **/599 BadOverweightIndex: AugmentedError<ApiType>;600 /**601 * Bad XCM data.602 **/603 BadXcm: AugmentedError<ApiType>;604 /**605 * Bad XCM origin.606 **/607 BadXcmOrigin: AugmentedError<ApiType>;608 /**609 * Failed to send XCM message.610 **/611 FailedToSend: AugmentedError<ApiType>;612 /**613 * Provided weight is possibly not enough to execute the message.614 **/615 WeightOverLimit: AugmentedError<ApiType>;616 /**617 * Generic error618 **/619 [key: string]: AugmentedError<ApiType>;620 };621 } // AugmentedErrors622} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts18.2 KiBsourcehistory