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 evmCollection: {253 /**254 * This method is only executable by owner255 **/256 NoPermission: AugmentedError<ApiType>;257 /**258 * Generic error259 **/260 [key: string]: AugmentedError<ApiType>;261 };262 evmContractHelpers: {263 /**264 * This method is only executable by owner265 **/266 NoPermission: AugmentedError<ApiType>;267 /**268 * Generic error269 **/270 [key: string]: AugmentedError<ApiType>;271 };272 evmMigration: {273 AccountIsNotMigrating: AugmentedError<ApiType>;274 AccountNotEmpty: AugmentedError<ApiType>;275 /**276 * Generic error277 **/278 [key: string]: AugmentedError<ApiType>;279 };280 fungible: {281 /**282 * Fungible token does not support nested283 **/284 FungibleDisallowsNesting: AugmentedError<ApiType>;285 /**286 * Tried to set data for fungible item287 **/288 FungibleItemsDontHaveData: AugmentedError<ApiType>;289 /**290 * Not default id passed as TokenId argument291 **/292 FungibleItemsHaveNoId: AugmentedError<ApiType>;293 /**294 * Not Fungible item data used to mint in Fungible collection.295 **/296 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;297 /**298 * Setting item properties is not allowed299 **/300 SettingPropertiesNotAllowed: AugmentedError<ApiType>;301 /**302 * Generic error303 **/304 [key: string]: AugmentedError<ApiType>;305 };306 nonfungible: {307 /**308 * Used amount > 1 with NFT309 **/310 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;311 /**312 * Not Nonfungible item data used to mint in Nonfungible collection.313 **/314 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;315 /**316 * Generic error317 **/318 [key: string]: AugmentedError<ApiType>;319 };320 parachainSystem: {321 /**322 * The inherent which supplies the host configuration did not run this block323 **/324 HostConfigurationNotAvailable: AugmentedError<ApiType>;325 /**326 * No code upgrade has been authorized.327 **/328 NothingAuthorized: AugmentedError<ApiType>;329 /**330 * No validation function upgrade is currently scheduled.331 **/332 NotScheduled: AugmentedError<ApiType>;333 /**334 * Attempt to upgrade validation function while existing upgrade pending335 **/336 OverlappingUpgrades: AugmentedError<ApiType>;337 /**338 * Polkadot currently prohibits this parachain from upgrading its validation function339 **/340 ProhibitedByPolkadot: AugmentedError<ApiType>;341 /**342 * The supplied validation function has compiled into a blob larger than Polkadot is343 * willing to run344 **/345 TooBig: AugmentedError<ApiType>;346 /**347 * The given code upgrade has not been authorized.348 **/349 Unauthorized: AugmentedError<ApiType>;350 /**351 * The inherent which supplies the validation data did not run this block352 **/353 ValidationDataNotAvailable: AugmentedError<ApiType>;354 /**355 * Generic error356 **/357 [key: string]: AugmentedError<ApiType>;358 };359 polkadotXcm: {360 /**361 * The location is invalid since it already has a subscription from us.362 **/363 AlreadySubscribed: AugmentedError<ApiType>;364 /**365 * The given location could not be used (e.g. because it cannot be expressed in the366 * desired version of XCM).367 **/368 BadLocation: AugmentedError<ApiType>;369 /**370 * The version of the `Versioned` value used is not able to be interpreted.371 **/372 BadVersion: AugmentedError<ApiType>;373 /**374 * Could not re-anchor the assets to declare the fees for the destination chain.375 **/376 CannotReanchor: AugmentedError<ApiType>;377 /**378 * The destination `MultiLocation` provided cannot be inverted.379 **/380 DestinationNotInvertible: AugmentedError<ApiType>;381 /**382 * The assets to be sent are empty.383 **/384 Empty: AugmentedError<ApiType>;385 /**386 * The message execution fails the filter.387 **/388 Filtered: AugmentedError<ApiType>;389 /**390 * Origin is invalid for sending.391 **/392 InvalidOrigin: AugmentedError<ApiType>;393 /**394 * The referenced subscription could not be found.395 **/396 NoSubscription: AugmentedError<ApiType>;397 /**398 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps399 * a lack of space for buffering the message.400 **/401 SendFailure: AugmentedError<ApiType>;402 /**403 * Too many assets have been attempted for transfer.404 **/405 TooManyAssets: AugmentedError<ApiType>;406 /**407 * The desired destination was unreachable, generally because there is a no way of routing408 * to it.409 **/410 Unreachable: AugmentedError<ApiType>;411 /**412 * The message's weight could not be determined.413 **/414 UnweighableMessage: AugmentedError<ApiType>;415 /**416 * Generic error417 **/418 [key: string]: AugmentedError<ApiType>;419 };420 refungible: {421 /**422 * Not Refungible item data used to mint in Refungible collection.423 **/424 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;425 /**426 * Refungible token can't nest other tokens427 **/428 RefungibleDisallowsNesting: AugmentedError<ApiType>;429 /**430 * Setting item properties is not allowed431 **/432 SettingPropertiesNotAllowed: AugmentedError<ApiType>;433 /**434 * Maximum refungibility exceeded435 **/436 WrongRefungiblePieces: AugmentedError<ApiType>;437 /**438 * Generic error439 **/440 [key: string]: AugmentedError<ApiType>;441 };442 rmrkCore: {443 CollectionFullOrLocked: AugmentedError<ApiType>;444 CollectionNotEmpty: AugmentedError<ApiType>;445 CollectionUnknown: AugmentedError<ApiType>;446 CorruptedCollectionType: AugmentedError<ApiType>;447 NftTypeEncodeError: AugmentedError<ApiType>;448 NoAvailableCollectionId: AugmentedError<ApiType>;449 NoAvailableNftId: AugmentedError<ApiType>;450 NoPermission: AugmentedError<ApiType>;451 RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;452 RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;453 /**454 * Generic error455 **/456 [key: string]: AugmentedError<ApiType>;457 };458 rmrkEquip: {459 BaseDoesntExist: AugmentedError<ApiType>;460 NeedsDefaultThemeFirst: AugmentedError<ApiType>;461 NoAvailableBaseId: AugmentedError<ApiType>;462 NoAvailablePartId: AugmentedError<ApiType>;463 PermissionError: AugmentedError<ApiType>;464 /**465 * Generic error466 **/467 [key: string]: AugmentedError<ApiType>;468 };469 structure: {470 /**471 * While searched for owner, encountered depth limit472 **/473 DepthLimit: AugmentedError<ApiType>;474 /**475 * While searched for owner, got already checked account476 **/477 OuroborosDetected: AugmentedError<ApiType>;478 /**479 * While searched for owner, found token owner by not-yet-existing token480 **/481 TokenNotFound: AugmentedError<ApiType>;482 /**483 * Generic error484 **/485 [key: string]: AugmentedError<ApiType>;486 };487 sudo: {488 /**489 * Sender must be the Sudo account490 **/491 RequireSudo: AugmentedError<ApiType>;492 /**493 * Generic error494 **/495 [key: string]: AugmentedError<ApiType>;496 };497 system: {498 /**499 * The origin filter prevent the call to be dispatched.500 **/501 CallFiltered: AugmentedError<ApiType>;502 /**503 * Failed to extract the runtime version from the new runtime.504 * 505 * Either calling `Core_version` or decoding `RuntimeVersion` failed.506 **/507 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;508 /**509 * The name of specification does not match between the current runtime510 * and the new runtime.511 **/512 InvalidSpecName: AugmentedError<ApiType>;513 /**514 * Suicide called when the account has non-default composite data.515 **/516 NonDefaultComposite: AugmentedError<ApiType>;517 /**518 * There is a non-zero reference count preventing the account from being purged.519 **/520 NonZeroRefCount: AugmentedError<ApiType>;521 /**522 * The specification version is not allowed to decrease between the current runtime523 * and the new runtime.524 **/525 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;526 /**527 * Generic error528 **/529 [key: string]: AugmentedError<ApiType>;530 };531 treasury: {532 /**533 * Proposer's balance is too low.534 **/535 InsufficientProposersBalance: AugmentedError<ApiType>;536 /**537 * No proposal or bounty at that index.538 **/539 InvalidIndex: AugmentedError<ApiType>;540 /**541 * Too many approvals in the queue.542 **/543 TooManyApprovals: AugmentedError<ApiType>;544 /**545 * Generic error546 **/547 [key: string]: AugmentedError<ApiType>;548 };549 unique: {550 /**551 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.552 **/553 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;554 /**555 * This address is not set as sponsor, use setCollectionSponsor first.556 **/557 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;558 /**559 * Length of items properties must be greater than 0.560 **/561 EmptyArgument: AugmentedError<ApiType>;562 /**563 * Generic error564 **/565 [key: string]: AugmentedError<ApiType>;566 };567 vesting: {568 /**569 * The vested transfer amount is too low570 **/571 AmountLow: AugmentedError<ApiType>;572 /**573 * Insufficient amount of balance to lock574 **/575 InsufficientBalanceToLock: AugmentedError<ApiType>;576 /**577 * Failed because the maximum vesting schedules was exceeded578 **/579 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;580 /**581 * This account have too many vesting schedules582 **/583 TooManyVestingSchedules: AugmentedError<ApiType>;584 /**585 * Vesting period is zero586 **/587 ZeroVestingPeriod: AugmentedError<ApiType>;588 /**589 * Number of vests is zero590 **/591 ZeroVestingPeriodCount: AugmentedError<ApiType>;592 /**593 * Generic error594 **/595 [key: string]: AugmentedError<ApiType>;596 };597 xcmpQueue: {598 /**599 * Bad overweight index.600 **/601 BadOverweightIndex: AugmentedError<ApiType>;602 /**603 * Bad XCM data.604 **/605 BadXcm: AugmentedError<ApiType>;606 /**607 * Bad XCM origin.608 **/609 BadXcmOrigin: AugmentedError<ApiType>;610 /**611 * Failed to send XCM message.612 **/613 FailedToSend: AugmentedError<ApiType>;614 /**615 * Provided weight is possibly not enough to execute the message.616 **/617 WeightOverLimit: AugmentedError<ApiType>;618 /**619 * Generic error620 **/621 [key: string]: AugmentedError<ApiType>;622 };623 } // AugmentedErrors624} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts18.1 KiBsourcehistory