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 * Exceeded max admin count69 **/70 CollectionAdminCountExceeded: AugmentedError<ApiType>;71 /**72 * Collection description can not be longer than 255 char.73 **/74 CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;75 /**76 * Tried to store more data than allowed in collection field77 **/78 CollectionFieldSizeExceeded: AugmentedError<ApiType>;79 /**80 * Collection limit bounds per collection exceeded81 **/82 CollectionLimitBoundsExceeded: AugmentedError<ApiType>;83 /**84 * Collection name can not be longer than 63 char.85 **/86 CollectionNameLimitExceeded: AugmentedError<ApiType>;87 /**88 * This collection does not exist.89 **/90 CollectionNotFound: AugmentedError<ApiType>;91 /**92 * Collection token limit exceeded93 **/94 CollectionTokenLimitExceeded: AugmentedError<ApiType>;95 /**96 * Token prefix can not be longer than 15 char.97 **/98 CollectionTokenPrefixLimitExceeded: AugmentedError<ApiType>;99 /**100 * Empty property keys are forbidden101 **/102 EmptyPropertyKey: AugmentedError<ApiType>;103 /**104 * Only ASCII letters, digits, and '_', '-' are allowed105 **/106 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;107 /**108 * Metadata flag frozen109 **/110 MetadataFlagFrozen: AugmentedError<ApiType>;111 /**112 * Sender parameter and item owner must be equal.113 **/114 MustBeTokenOwner: AugmentedError<ApiType>;115 /**116 * Collection has nesting disabled117 **/118 NestingIsDisabled: AugmentedError<ApiType>;119 /**120 * No permission to perform action121 **/122 NoPermission: AugmentedError<ApiType>;123 /**124 * Tried to store more property data than allowed125 **/126 NoSpaceForProperty: AugmentedError<ApiType>;127 /**128 * Not sufficient founds to perform action129 **/130 NotSufficientFounds: AugmentedError<ApiType>;131 /**132 * Only owner may nest tokens under this collection133 **/134 OnlyOwnerAllowedToNest: AugmentedError<ApiType>;135 /**136 * Tried to enable permissions which are only permitted to be disabled137 **/138 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;139 /**140 * Property key is too long141 **/142 PropertyKeyIsTooLong: AugmentedError<ApiType>;143 /**144 * Tried to store more property keys than allowed145 **/146 PropertyLimitReached: AugmentedError<ApiType>;147 /**148 * Collection is not in mint mode.149 **/150 PublicMintingNotAllowed: AugmentedError<ApiType>;151 /**152 * Only tokens from specific collections may nest tokens under this153 **/154 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;155 /**156 * Item not exists.157 **/158 TokenNotFound: AugmentedError<ApiType>;159 /**160 * Item balance not enough.161 **/162 TokenValueTooLow: AugmentedError<ApiType>;163 /**164 * Total collections bound exceeded.165 **/166 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;167 /**168 * Collection settings not allowing items transferring169 **/170 TransferNotAllowed: AugmentedError<ApiType>;171 /**172 * Target collection doesn't supports this operation173 **/174 UnsupportedOperation: AugmentedError<ApiType>;175 /**176 * Generic error177 **/178 [key: string]: AugmentedError<ApiType>;179 };180 cumulusXcm: {181 /**182 * Generic error183 **/184 [key: string]: AugmentedError<ApiType>;185 };186 dmpQueue: {187 /**188 * The amount of weight given is possibly not enough for executing the message.189 **/190 OverLimit: AugmentedError<ApiType>;191 /**192 * The message index given is unknown.193 **/194 Unknown: AugmentedError<ApiType>;195 /**196 * Generic error197 **/198 [key: string]: AugmentedError<ApiType>;199 };200 ethereum: {201 /**202 * Signature is invalid.203 **/204 InvalidSignature: AugmentedError<ApiType>;205 /**206 * Pre-log is present, therefore transact is not allowed.207 **/208 PreLogExists: AugmentedError<ApiType>;209 /**210 * Generic error211 **/212 [key: string]: AugmentedError<ApiType>;213 };214 evm: {215 /**216 * Not enough balance to perform action217 **/218 BalanceLow: AugmentedError<ApiType>;219 /**220 * Calculating total fee overflowed221 **/222 FeeOverflow: AugmentedError<ApiType>;223 /**224 * Gas price is too low.225 **/226 GasPriceTooLow: AugmentedError<ApiType>;227 /**228 * Nonce is invalid229 **/230 InvalidNonce: AugmentedError<ApiType>;231 /**232 * Calculating total payment overflowed233 **/234 PaymentOverflow: AugmentedError<ApiType>;235 /**236 * Withdraw fee failed237 **/238 WithdrawFailed: AugmentedError<ApiType>;239 /**240 * Generic error241 **/242 [key: string]: AugmentedError<ApiType>;243 };244 evmCoderSubstrate: {245 OutOfFund: AugmentedError<ApiType>;246 OutOfGas: AugmentedError<ApiType>;247 /**248 * Generic error249 **/250 [key: string]: AugmentedError<ApiType>;251 };252 evmContractHelpers: {253 /**254 * This method is only executable by owner255 **/256 NoPermission: AugmentedError<ApiType>;257 /**258 * Generic error259 **/260 [key: string]: AugmentedError<ApiType>;261 };262 evmMigration: {263 AccountIsNotMigrating: AugmentedError<ApiType>;264 AccountNotEmpty: AugmentedError<ApiType>;265 /**266 * Generic error267 **/268 [key: string]: AugmentedError<ApiType>;269 };270 fungible: {271 /**272 * Fungible token does not support nested273 **/274 FungibleDisallowsNesting: AugmentedError<ApiType>;275 /**276 * Tried to set data for fungible item277 **/278 FungibleItemsDontHaveData: AugmentedError<ApiType>;279 /**280 * Not default id passed as TokenId argument281 **/282 FungibleItemsHaveNoId: AugmentedError<ApiType>;283 /**284 * Not Fungible item data used to mint in Fungible collection.285 **/286 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;287 /**288 * Setting item properties is not allowed289 **/290 SettingPropertiesNotAllowed: AugmentedError<ApiType>;291 /**292 * Generic error293 **/294 [key: string]: AugmentedError<ApiType>;295 };296 nonfungible: {297 /**298 * Used amount > 1 with NFT299 **/300 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;301 /**302 * Not Nonfungible item data used to mint in Nonfungible collection.303 **/304 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;305 /**306 * Generic error307 **/308 [key: string]: AugmentedError<ApiType>;309 };310 parachainSystem: {311 /**312 * The inherent which supplies the host configuration did not run this block313 **/314 HostConfigurationNotAvailable: AugmentedError<ApiType>;315 /**316 * No code upgrade has been authorized.317 **/318 NothingAuthorized: AugmentedError<ApiType>;319 /**320 * No validation function upgrade is currently scheduled.321 **/322 NotScheduled: AugmentedError<ApiType>;323 /**324 * Attempt to upgrade validation function while existing upgrade pending325 **/326 OverlappingUpgrades: AugmentedError<ApiType>;327 /**328 * Polkadot currently prohibits this parachain from upgrading its validation function329 **/330 ProhibitedByPolkadot: AugmentedError<ApiType>;331 /**332 * The supplied validation function has compiled into a blob larger than Polkadot is333 * willing to run334 **/335 TooBig: AugmentedError<ApiType>;336 /**337 * The given code upgrade has not been authorized.338 **/339 Unauthorized: AugmentedError<ApiType>;340 /**341 * The inherent which supplies the validation data did not run this block342 **/343 ValidationDataNotAvailable: AugmentedError<ApiType>;344 /**345 * Generic error346 **/347 [key: string]: AugmentedError<ApiType>;348 };349 polkadotXcm: {350 /**351 * The location is invalid since it already has a subscription from us.352 **/353 AlreadySubscribed: AugmentedError<ApiType>;354 /**355 * The given location could not be used (e.g. because it cannot be expressed in the356 * desired version of XCM).357 **/358 BadLocation: AugmentedError<ApiType>;359 /**360 * The version of the `Versioned` value used is not able to be interpreted.361 **/362 BadVersion: AugmentedError<ApiType>;363 /**364 * Could not re-anchor the assets to declare the fees for the destination chain.365 **/366 CannotReanchor: AugmentedError<ApiType>;367 /**368 * The destination `MultiLocation` provided cannot be inverted.369 **/370 DestinationNotInvertible: AugmentedError<ApiType>;371 /**372 * The assets to be sent are empty.373 **/374 Empty: AugmentedError<ApiType>;375 /**376 * The message execution fails the filter.377 **/378 Filtered: AugmentedError<ApiType>;379 /**380 * Origin is invalid for sending.381 **/382 InvalidOrigin: AugmentedError<ApiType>;383 /**384 * The referenced subscription could not be found.385 **/386 NoSubscription: AugmentedError<ApiType>;387 /**388 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps389 * a lack of space for buffering the message.390 **/391 SendFailure: AugmentedError<ApiType>;392 /**393 * Too many assets have been attempted for transfer.394 **/395 TooManyAssets: AugmentedError<ApiType>;396 /**397 * The desired destination was unreachable, generally because there is a no way of routing398 * to it.399 **/400 Unreachable: AugmentedError<ApiType>;401 /**402 * The message's weight could not be determined.403 **/404 UnweighableMessage: AugmentedError<ApiType>;405 /**406 * Generic error407 **/408 [key: string]: AugmentedError<ApiType>;409 };410 refungible: {411 /**412 * Not Refungible item data used to mint in Refungible collection.413 **/414 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;415 /**416 * Refungible token can't nest other tokens417 **/418 RefungibleDisallowsNesting: AugmentedError<ApiType>;419 /**420 * Setting item properties is not allowed421 **/422 SettingPropertiesNotAllowed: AugmentedError<ApiType>;423 /**424 * Maximum refungibility exceeded425 **/426 WrongRefungiblePieces: AugmentedError<ApiType>;427 /**428 * Generic error429 **/430 [key: string]: AugmentedError<ApiType>;431 };432 rmrkCore: {433 CollectionFullOrLocked: AugmentedError<ApiType>;434 CollectionNotEmpty: AugmentedError<ApiType>;435 CollectionUnknown: AugmentedError<ApiType>;436 CorruptedCollectionType: AugmentedError<ApiType>;437 NftTypeEncodeError: AugmentedError<ApiType>;438 NoAvailableCollectionId: AugmentedError<ApiType>;439 NoAvailableNftId: AugmentedError<ApiType>;440 NoPermission: AugmentedError<ApiType>;441 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;442 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;443 /**444 * Generic error445 **/446 [key: string]: AugmentedError<ApiType>;447 };448 rmrkEquip: {449 BaseDoesntExist: AugmentedError<ApiType>;450 NeedsDefaultThemeFirst: AugmentedError<ApiType>;451 NoAvailableBaseId: AugmentedError<ApiType>;452 NoAvailablePartId: AugmentedError<ApiType>;453 PermissionError: AugmentedError<ApiType>;454 /**455 * Generic error456 **/457 [key: string]: AugmentedError<ApiType>;458 };459 structure: {460 /**461 * While searched for owner, encountered depth limit462 **/463 DepthLimit: AugmentedError<ApiType>;464 /**465 * While searched for owner, got already checked account466 **/467 OuroborosDetected: AugmentedError<ApiType>;468 /**469 * While searched for owner, found token owner by not-yet-existing token470 **/471 TokenNotFound: AugmentedError<ApiType>;472 /**473 * Generic error474 **/475 [key: string]: AugmentedError<ApiType>;476 };477 sudo: {478 /**479 * Sender must be the Sudo account480 **/481 RequireSudo: AugmentedError<ApiType>;482 /**483 * Generic error484 **/485 [key: string]: AugmentedError<ApiType>;486 };487 system: {488 /**489 * The origin filter prevent the call to be dispatched.490 **/491 CallFiltered: AugmentedError<ApiType>;492 /**493 * Failed to extract the runtime version from the new runtime.494 * 495 * Either calling `Core_version` or decoding `RuntimeVersion` failed.496 **/497 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;498 /**499 * The name of specification does not match between the current runtime500 * and the new runtime.501 **/502 InvalidSpecName: AugmentedError<ApiType>;503 /**504 * Suicide called when the account has non-default composite data.505 **/506 NonDefaultComposite: AugmentedError<ApiType>;507 /**508 * There is a non-zero reference count preventing the account from being purged.509 **/510 NonZeroRefCount: AugmentedError<ApiType>;511 /**512 * The specification version is not allowed to decrease between the current runtime513 * and the new runtime.514 **/515 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;516 /**517 * Generic error518 **/519 [key: string]: AugmentedError<ApiType>;520 };521 treasury: {522 /**523 * Proposer's balance is too low.524 **/525 InsufficientProposersBalance: AugmentedError<ApiType>;526 /**527 * No proposal or bounty at that index.528 **/529 InvalidIndex: AugmentedError<ApiType>;530 /**531 * Too many approvals in the queue.532 **/533 TooManyApprovals: AugmentedError<ApiType>;534 /**535 * Generic error536 **/537 [key: string]: AugmentedError<ApiType>;538 };539 unique: {540 /**541 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.542 **/543 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;544 /**545 * This address is not set as sponsor, use setCollectionSponsor first.546 **/547 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;548 /**549 * Length of items properties must be greater than 0.550 **/551 EmptyArgument: AugmentedError<ApiType>;552 /**553 * Generic error554 **/555 [key: string]: AugmentedError<ApiType>;556 };557 vesting: {558 /**559 * The vested transfer amount is too low560 **/561 AmountLow: AugmentedError<ApiType>;562 /**563 * Insufficient amount of balance to lock564 **/565 InsufficientBalanceToLock: AugmentedError<ApiType>;566 /**567 * Failed because the maximum vesting schedules was exceeded568 **/569 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;570 /**571 * This account have too many vesting schedules572 **/573 TooManyVestingSchedules: AugmentedError<ApiType>;574 /**575 * Vesting period is zero576 **/577 ZeroVestingPeriod: AugmentedError<ApiType>;578 /**579 * Number of vests is zero580 **/581 ZeroVestingPeriodCount: AugmentedError<ApiType>;582 /**583 * Generic error584 **/585 [key: string]: AugmentedError<ApiType>;586 };587 xcmpQueue: {588 /**589 * Bad overweight index.590 **/591 BadOverweightIndex: AugmentedError<ApiType>;592 /**593 * Bad XCM data.594 **/595 BadXcm: AugmentedError<ApiType>;596 /**597 * Bad XCM origin.598 **/599 BadXcmOrigin: AugmentedError<ApiType>;600 /**601 * Failed to send XCM message.602 **/603 FailedToSend: AugmentedError<ApiType>;604 /**605 * Provided weight is possibly not enough to execute the message.606 **/607 WeightOverLimit: AugmentedError<ApiType>;608 /**609 * Generic error610 **/611 [key: string]: AugmentedError<ApiType>;612 };613 } // AugmentedErrors614} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts17.9 KiBsourcehistory