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 * Metadata flag frozen101 **/102 MetadataFlagFrozen: AugmentedError<ApiType>;103 /**104 * Sender parameter and item owner must be equal.105 **/106 MustBeTokenOwner: AugmentedError<ApiType>;107 /**108 * Collection has nesting disabled109 **/110 NestingIsDisabled: AugmentedError<ApiType>;111 /**112 * No permission to perform action113 **/114 NoPermission: AugmentedError<ApiType>;115 NoSpaceForProperty: AugmentedError<ApiType>;116 /**117 * Not sufficient founds to perform action118 **/119 NotSufficientFounds: AugmentedError<ApiType>;120 /**121 * Only owner may nest tokens under this collection122 **/123 OnlyOwnerAllowedToNest: AugmentedError<ApiType>;124 /**125 * Tried to enable permissions which are only permitted to be disabled126 **/127 OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;128 PropertyLimitReached: AugmentedError<ApiType>;129 /**130 * Collection is not in mint mode.131 **/132 PublicMintingNotAllowed: AugmentedError<ApiType>;133 /**134 * Only tokens from specific collections may nest tokens under this135 **/136 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;137 /**138 * Item not exists.139 **/140 TokenNotFound: AugmentedError<ApiType>;141 /**142 * Item balance not enough.143 **/144 TokenValueTooLow: AugmentedError<ApiType>;145 /**146 * variable_data exceeded data limit.147 **/148 TokenVariableDataLimitExceeded: AugmentedError<ApiType>;149 /**150 * Total collections bound exceeded.151 **/152 TotalCollectionsLimitExceeded: AugmentedError<ApiType>;153 /**154 * Collection settings not allowing items transferring155 **/156 TransferNotAllowed: AugmentedError<ApiType>;157 /**158 * Target collection doesn't supports this operation159 **/160 UnsupportedOperation: AugmentedError<ApiType>;161 /**162 * Generic error163 **/164 [key: string]: AugmentedError<ApiType>;165 };166 cumulusXcm: {167 /**168 * Generic error169 **/170 [key: string]: AugmentedError<ApiType>;171 };172 dmpQueue: {173 /**174 * The amount of weight given is possibly not enough for executing the message.175 **/176 OverLimit: AugmentedError<ApiType>;177 /**178 * The message index given is unknown.179 **/180 Unknown: AugmentedError<ApiType>;181 /**182 * Generic error183 **/184 [key: string]: AugmentedError<ApiType>;185 };186 ethereum: {187 /**188 * Signature is invalid.189 **/190 InvalidSignature: AugmentedError<ApiType>;191 /**192 * Pre-log is present, therefore transact is not allowed.193 **/194 PreLogExists: AugmentedError<ApiType>;195 /**196 * Generic error197 **/198 [key: string]: AugmentedError<ApiType>;199 };200 evm: {201 /**202 * Not enough balance to perform action203 **/204 BalanceLow: AugmentedError<ApiType>;205 /**206 * Calculating total fee overflowed207 **/208 FeeOverflow: AugmentedError<ApiType>;209 /**210 * Gas price is too low.211 **/212 GasPriceTooLow: AugmentedError<ApiType>;213 /**214 * Nonce is invalid215 **/216 InvalidNonce: AugmentedError<ApiType>;217 /**218 * Calculating total payment overflowed219 **/220 PaymentOverflow: AugmentedError<ApiType>;221 /**222 * Withdraw fee failed223 **/224 WithdrawFailed: AugmentedError<ApiType>;225 /**226 * Generic error227 **/228 [key: string]: AugmentedError<ApiType>;229 };230 evmCoderSubstrate: {231 OutOfFund: AugmentedError<ApiType>;232 OutOfGas: AugmentedError<ApiType>;233 /**234 * Generic error235 **/236 [key: string]: AugmentedError<ApiType>;237 };238 evmContractHelpers: {239 /**240 * This method is only executable by owner241 **/242 NoPermission: AugmentedError<ApiType>;243 /**244 * Generic error245 **/246 [key: string]: AugmentedError<ApiType>;247 };248 evmMigration: {249 AccountIsNotMigrating: AugmentedError<ApiType>;250 AccountNotEmpty: AugmentedError<ApiType>;251 /**252 * Generic error253 **/254 [key: string]: AugmentedError<ApiType>;255 };256 fungible: {257 /**258 * Fungible token does not support nested259 **/260 FungibleDisallowsNesting: AugmentedError<ApiType>;261 /**262 * Tried to set data for fungible item263 **/264 FungibleItemsDontHaveData: AugmentedError<ApiType>;265 /**266 * Not default id passed as TokenId argument267 **/268 FungibleItemsHaveNoId: AugmentedError<ApiType>;269 /**270 * Not Fungible item data used to mint in Fungible collection.271 **/272 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;273 /**274 * Item properties are not allowed275 **/276 PropertiesNotAllowed: AugmentedError<ApiType>;277 /**278 * Generic error279 **/280 [key: string]: AugmentedError<ApiType>;281 };282 nonfungible: {283 /**284 * Used amount > 1 with NFT285 **/286 NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;287 /**288 * Not Nonfungible item data used to mint in Nonfungible collection.289 **/290 NotNonfungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;291 /**292 * Generic error293 **/294 [key: string]: AugmentedError<ApiType>;295 };296 parachainSystem: {297 /**298 * The inherent which supplies the host configuration did not run this block299 **/300 HostConfigurationNotAvailable: AugmentedError<ApiType>;301 /**302 * No code upgrade has been authorized.303 **/304 NothingAuthorized: AugmentedError<ApiType>;305 /**306 * No validation function upgrade is currently scheduled.307 **/308 NotScheduled: AugmentedError<ApiType>;309 /**310 * Attempt to upgrade validation function while existing upgrade pending311 **/312 OverlappingUpgrades: AugmentedError<ApiType>;313 /**314 * Polkadot currently prohibits this parachain from upgrading its validation function315 **/316 ProhibitedByPolkadot: AugmentedError<ApiType>;317 /**318 * The supplied validation function has compiled into a blob larger than Polkadot is319 * willing to run320 **/321 TooBig: AugmentedError<ApiType>;322 /**323 * The given code upgrade has not been authorized.324 **/325 Unauthorized: AugmentedError<ApiType>;326 /**327 * The inherent which supplies the validation data did not run this block328 **/329 ValidationDataNotAvailable: AugmentedError<ApiType>;330 /**331 * Generic error332 **/333 [key: string]: AugmentedError<ApiType>;334 };335 polkadotXcm: {336 /**337 * The location is invalid since it already has a subscription from us.338 **/339 AlreadySubscribed: AugmentedError<ApiType>;340 /**341 * The given location could not be used (e.g. because it cannot be expressed in the342 * desired version of XCM).343 **/344 BadLocation: AugmentedError<ApiType>;345 /**346 * The version of the `Versioned` value used is not able to be interpreted.347 **/348 BadVersion: AugmentedError<ApiType>;349 /**350 * Could not re-anchor the assets to declare the fees for the destination chain.351 **/352 CannotReanchor: AugmentedError<ApiType>;353 /**354 * The destination `MultiLocation` provided cannot be inverted.355 **/356 DestinationNotInvertible: AugmentedError<ApiType>;357 /**358 * The assets to be sent are empty.359 **/360 Empty: AugmentedError<ApiType>;361 /**362 * The message execution fails the filter.363 **/364 Filtered: AugmentedError<ApiType>;365 /**366 * Origin is invalid for sending.367 **/368 InvalidOrigin: AugmentedError<ApiType>;369 /**370 * The referenced subscription could not be found.371 **/372 NoSubscription: AugmentedError<ApiType>;373 /**374 * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps375 * a lack of space for buffering the message.376 **/377 SendFailure: AugmentedError<ApiType>;378 /**379 * Too many assets have been attempted for transfer.380 **/381 TooManyAssets: AugmentedError<ApiType>;382 /**383 * The desired destination was unreachable, generally because there is a no way of routing384 * to it.385 **/386 Unreachable: AugmentedError<ApiType>;387 /**388 * The message's weight could not be determined.389 **/390 UnweighableMessage: AugmentedError<ApiType>;391 /**392 * Generic error393 **/394 [key: string]: AugmentedError<ApiType>;395 };396 refungible: {397 /**398 * Not Refungible item data used to mint in Refungible collection.399 **/400 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;401 /**402 * Item properties are not allowed403 **/404 PropertiesNotAllowed: AugmentedError<ApiType>;405 /**406 * Refungible token can't nest other tokens407 **/408 RefungibleDisallowsNesting: AugmentedError<ApiType>;409 /**410 * Maximum refungibility exceeded411 **/412 WrongRefungiblePieces: AugmentedError<ApiType>;413 /**414 * Generic error415 **/416 [key: string]: AugmentedError<ApiType>;417 };418 structure: {419 /**420 * While searched for owner, encountered depth limit421 **/422 DepthLimit: AugmentedError<ApiType>;423 /**424 * While searched for owner, got already checked account425 **/426 OuroborosDetected: AugmentedError<ApiType>;427 /**428 * While searched for owner, found token owner by not-yet-existing token429 **/430 TokenNotFound: AugmentedError<ApiType>;431 /**432 * Generic error433 **/434 [key: string]: AugmentedError<ApiType>;435 };436 sudo: {437 /**438 * Sender must be the Sudo account439 **/440 RequireSudo: AugmentedError<ApiType>;441 /**442 * Generic error443 **/444 [key: string]: AugmentedError<ApiType>;445 };446 system: {447 /**448 * The origin filter prevent the call to be dispatched.449 **/450 CallFiltered: AugmentedError<ApiType>;451 /**452 * Failed to extract the runtime version from the new runtime.453 * 454 * Either calling `Core_version` or decoding `RuntimeVersion` failed.455 **/456 FailedToExtractRuntimeVersion: AugmentedError<ApiType>;457 /**458 * The name of specification does not match between the current runtime459 * and the new runtime.460 **/461 InvalidSpecName: AugmentedError<ApiType>;462 /**463 * Suicide called when the account has non-default composite data.464 **/465 NonDefaultComposite: AugmentedError<ApiType>;466 /**467 * There is a non-zero reference count preventing the account from being purged.468 **/469 NonZeroRefCount: AugmentedError<ApiType>;470 /**471 * The specification version is not allowed to decrease between the current runtime472 * and the new runtime.473 **/474 SpecVersionNeedsToIncrease: AugmentedError<ApiType>;475 /**476 * Generic error477 **/478 [key: string]: AugmentedError<ApiType>;479 };480 treasury: {481 /**482 * Proposer's balance is too low.483 **/484 InsufficientProposersBalance: AugmentedError<ApiType>;485 /**486 * No proposal or bounty at that index.487 **/488 InvalidIndex: AugmentedError<ApiType>;489 /**490 * Too many approvals in the queue.491 **/492 TooManyApprovals: AugmentedError<ApiType>;493 /**494 * Generic error495 **/496 [key: string]: AugmentedError<ApiType>;497 };498 unique: {499 /**500 * Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.501 **/502 CollectionDecimalPointLimitExceeded: AugmentedError<ApiType>;503 /**504 * This address is not set as sponsor, use setCollectionSponsor first.505 **/506 ConfirmUnsetSponsorFail: AugmentedError<ApiType>;507 /**508 * Length of items properties must be greater than 0.509 **/510 EmptyArgument: AugmentedError<ApiType>;511 /**512 * Generic error513 **/514 [key: string]: AugmentedError<ApiType>;515 };516 vesting: {517 /**518 * The vested transfer amount is too low519 **/520 AmountLow: AugmentedError<ApiType>;521 /**522 * Insufficient amount of balance to lock523 **/524 InsufficientBalanceToLock: AugmentedError<ApiType>;525 /**526 * Failed because the maximum vesting schedules was exceeded527 **/528 MaxVestingSchedulesExceeded: AugmentedError<ApiType>;529 /**530 * This account have too many vesting schedules531 **/532 TooManyVestingSchedules: AugmentedError<ApiType>;533 /**534 * Vesting period is zero535 **/536 ZeroVestingPeriod: AugmentedError<ApiType>;537 /**538 * Number of vests is zero539 **/540 ZeroVestingPeriodCount: AugmentedError<ApiType>;541 /**542 * Generic error543 **/544 [key: string]: AugmentedError<ApiType>;545 };546 xcmpQueue: {547 /**548 * Bad overweight index.549 **/550 BadOverweightIndex: AugmentedError<ApiType>;551 /**552 * Bad XCM data.553 **/554 BadXcm: AugmentedError<ApiType>;555 /**556 * Bad XCM origin.557 **/558 BadXcmOrigin: AugmentedError<ApiType>;559 /**560 * Failed to send XCM message.561 **/562 FailedToSend: AugmentedError<ApiType>;563 /**564 * Provided weight is possibly not enough to execute the message.565 **/566 WeightOverLimit: AugmentedError<ApiType>;567 /**568 * Generic error569 **/570 [key: string]: AugmentedError<ApiType>;571 };572 } // AugmentedErrors573} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-errors.ts16.5 KiBsourcehistory