/** * Module containing all errors in this package. * * @module */ /** All errors in this package. */ export declare const errmap: { readonly error_categories: {}; readonly module_error_maps: { readonly "0x1::account": { readonly "1": { readonly name: "EACCOUNT_ALREADY_EXISTS"; readonly doc: "Account already exists"; }; readonly "2": { readonly name: "EACCOUNT_DOES_NOT_EXIST"; readonly doc: "Account does not exist"; }; readonly "3": { readonly name: "ESEQUENCE_NUMBER_TOO_BIG"; readonly doc: "Sequence number exceeds the maximum value for a u64"; }; readonly "4": { readonly name: "EMALFORMED_AUTHENTICATION_KEY"; readonly doc: "The provided authentication key has an invalid length"; }; readonly "5": { readonly name: "ECANNOT_RESERVED_ADDRESS"; readonly doc: "Cannot create account because address is reserved"; }; readonly "6": { readonly name: "EOUT_OF_GAS"; readonly doc: "Transaction exceeded its allocated max gas"; }; readonly "7": { readonly name: "EWRITESET_NOT_ALLOWED"; readonly doc: "Writesets are not allowed"; }; readonly "8": { readonly name: "EWRONG_CURRENT_PUBLIC_KEY"; readonly doc: "Specified current public key is not correct"; }; readonly "9": { readonly name: "EINVALID_PROOF_OF_KNOWLEDGE"; readonly doc: "Specified proof of knowledge required to prove ownership of a public key is invalid"; }; readonly "10": { readonly name: "ENO_CAPABILITY"; readonly doc: "The caller does not have a digital-signature-based capability to call this function"; }; readonly "1001": { readonly name: "PROLOGUE_EINVALID_ACCOUNT_AUTH_KEY"; readonly doc: "Prologue errors. These are separated out from the other errors in this\nmodule since they are mapped separately to major VM statuses, and are\nimportant to the semantics of the system."; }; readonly "1002": { readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_OLD"; }; readonly "1003": { readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_NEW"; }; readonly "1004": { readonly name: "PROLOGUE_EACCOUNT_DOES_NOT_EXIST"; }; readonly "1005": { readonly name: "PROLOGUE_ECANT_PAY_GAS_DEPOSIT"; }; readonly "1006": { readonly name: "PROLOGUE_ETRANSACTION_EXPIRED"; }; readonly "1007": { readonly name: "PROLOGUE_EBAD_CHAIN_ID"; }; readonly "1008": { readonly name: "PROLOGUE_EINVALID_WRITESET_SENDER"; }; readonly "1009": { readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_BIG"; }; readonly "1010": { readonly name: "PROLOGUE_ESECONDARY_KEYS_ADDRESSES_COUNT_MISMATCH"; }; }; readonly "0x1::acl": { readonly "0": { readonly name: "ECONTAIN"; readonly doc: "The ACL already contains the address."; }; readonly "1": { readonly name: "ENOT_CONTAIN"; readonly doc: "The ACL does not contain the address."; }; }; readonly "0x1::aggregator": { readonly "1": { readonly name: "EAGGREGATOR_OVERFLOW"; readonly doc: "When the value of aggregator (actual or accumulated) overflows (raised\nby native code)."; }; readonly "2": { readonly name: "EAGGREGATOR_UNDERFLOW"; readonly doc: "When the value of aggregator (actual or accumulated) underflows, i.e goes\nbelow zero (raised by native code)."; }; readonly "3": { readonly name: "ENOT_SUPPORTED"; readonly doc: "When aggregator feature is not supported (raised by native code)."; }; }; readonly "0x1::aggregator_factory": { readonly "1": { readonly name: "EAGGREGATOR_FACTORY_EXISTS"; readonly doc: "When aggregator factory has already been published."; }; readonly "2": { readonly name: "ENOT_CORE_FRAMEWORK_ADDRESS"; readonly doc: "When aggregator factory is published to not core framework address."; }; readonly "3": { readonly name: "ENOT_SUPPORTED"; readonly doc: "When aggregator feature is not supported (raised by native code)."; }; }; readonly "0x1::aptos_coin": { readonly "1": { readonly name: "ENO_CAPABILITIES"; readonly doc: "Account does not have mint capability"; }; readonly "2": { readonly name: "EALREADY_DELEGATED"; readonly doc: "Mint capability has already been delegated to this specified address"; }; readonly "3": { readonly name: "EDELEGATION_NOT_FOUND"; readonly doc: "Cannot find delegation of mint capability to this account"; }; }; readonly "0x1::aptos_governance": { readonly "1": { readonly name: "EINSUFFICIENT_PROPOSER_STAKE"; readonly doc: "The specified stake pool does not have sufficient stake to create a proposal"; }; readonly "2": { readonly name: "ENOT_DELEGATED_VOTER"; readonly doc: "This account is not the designated voter of the specified stake pool"; }; readonly "3": { readonly name: "EINSUFFICIENT_STAKE_LOCKUP"; readonly doc: "The specified stake pool does not have long enough remaining lockup to create a proposal or vote"; }; readonly "4": { readonly name: "EALREADY_VOTED"; readonly doc: "The specified stake pool has already been used to vote on the same proposal"; }; readonly "5": { readonly name: "ENO_VOTING_POWER"; readonly doc: "The specified stake pool must be part of the validator set"; }; readonly "6": { readonly name: "EPROPOSAL_NOT_RESOLVABLE_YET"; readonly doc: "Proposal is not ready to be resolved. Waiting on time or votes"; }; readonly "7": { readonly name: "ESCRIPT_HASH_ALREADY_ADDED"; readonly doc: "Proposal's script hash has already been added to the approved list"; }; readonly "8": { readonly name: "EPROPOSAL_NOT_RESOLVED_YET"; readonly doc: "The proposal has not been resolved yet"; }; readonly "9": { readonly name: "EMETADATA_LOCATION_TOO_LONG"; readonly doc: "Metadata location cannot be longer than 256 chars"; }; readonly "10": { readonly name: "EMETADATA_HASH_TOO_LONG"; readonly doc: "Metadata hash cannot be longer than 256 chars"; }; }; readonly "0x1::big_vector": { readonly "1": { readonly name: "EINDEX_OUT_OF_BOUNDS"; readonly doc: "Vector index is out of bounds"; }; readonly "2": { readonly name: "EOUT_OF_CAPACITY"; readonly doc: "Vector is full"; }; readonly "3": { readonly name: "EVECTOR_NOT_EMPTY"; readonly doc: "Cannot destroy a non-empty vector"; }; }; readonly "0x1::bit_vector": { readonly "131072": { readonly name: "EINDEX"; readonly doc: "The provided index is out of bounds"; }; readonly "131073": { readonly name: "ELENGTH"; readonly doc: "An invalid length of bitvector was given"; }; }; readonly "0x1::block": { readonly "1": { readonly name: "ENUM_NEW_BLOCK_EVENTS_DOES_NOT_MATCH_BLOCK_HEIGHT"; readonly doc: "The number of new block events does not equal the current block height."; }; readonly "2": { readonly name: "EINVALID_PROPOSER"; readonly doc: "An invalid proposer was provided. Expected the proposer to be the VM or an active validator."; }; readonly "3": { readonly name: "EZERO_EPOCH_INTERVAL"; readonly doc: "Epoch interval cannot be 0."; }; }; readonly "0x1::bls12381": { readonly "1": { readonly name: "EZERO_PUBKEYS"; readonly doc: "The caller was supposed to input one or more public keys."; }; }; readonly "0x1::bucket_table": { readonly "1": { readonly name: "ENOT_FOUND"; readonly doc: "Key not found in the bucket table"; }; readonly "2": { readonly name: "EZERO_CAPACITY"; readonly doc: "Bucket table capacity must be larger than 0"; }; readonly "3": { readonly name: "ENOT_EMPTY"; readonly doc: "Cannot destroy non-empty hashmap"; }; readonly "4": { readonly name: "EALREADY_EXIST"; readonly doc: "Key already exists"; }; }; readonly "0x1::capability": { readonly "1": { readonly name: "ECAPABILITY_ALREADY_EXISTS"; readonly doc: "Capability resource already exists on the specified account"; }; readonly "2": { readonly name: "ECAPABILITY_NOT_FOUND"; readonly doc: "Capability resource not found"; }; readonly "3": { readonly name: "EDELEGATE"; readonly doc: "Account does not have delegated permissions"; }; }; readonly "0x1::code": { readonly "1": { readonly name: "EMODULE_NAME_CLASH"; readonly doc: "Package contains duplicate module names with existing modules publised in other packages on this address"; }; readonly "2": { readonly name: "EUPGRADE_IMMUTABLE"; readonly doc: "Cannot upgrade an immutable package"; }; readonly "3": { readonly name: "EUPGRADE_WEAKER_POLICY"; readonly doc: "Cannot downgrade a package's upgradability policy"; }; readonly "4": { readonly name: "EMODULE_MISSING"; readonly doc: "Cannot delete a module that was published in the same package"; }; }; readonly "0x1::coin": { readonly "1": { readonly name: "ECOIN_INFO_ADDRESS_MISMATCH"; readonly doc: "Address of account which is used to initialize a coin `CoinType` doesn't match the deployer of module"; }; readonly "2": { readonly name: "ECOIN_INFO_ALREADY_PUBLISHED"; readonly doc: "`CoinType` is already initialized as a coin"; }; readonly "3": { readonly name: "ECOIN_INFO_NOT_PUBLISHED"; readonly doc: "`CoinType` hasn't been initialized as a coin"; }; readonly "4": { readonly name: "ECOIN_STORE_ALREADY_PUBLISHED"; readonly doc: "Account already has `CoinStore` registered for `CoinType`"; }; readonly "5": { readonly name: "ECOIN_STORE_NOT_PUBLISHED"; readonly doc: "Account hasn't registered `CoinStore` for `CoinType`"; }; readonly "6": { readonly name: "EINSUFFICIENT_BALANCE"; readonly doc: "Not enough coins to complete transaction"; }; readonly "7": { readonly name: "EDESTRUCTION_OF_NONZERO_TOKEN"; readonly doc: "Cannot destroy non-zero coins"; }; readonly "8": { readonly name: "ETOTAL_SUPPLY_OVERFLOW"; readonly doc: "Total supply of the coin has overflown. No additional coins can be minted"; }; readonly "9": { readonly name: "EZERO_COIN_AMOUNT"; readonly doc: "Coin amount cannot be zero"; }; readonly "10": { readonly name: "EFROZEN"; readonly doc: "CoinStore is frozen. Coins cannot be deposited or withdrawn"; }; }; readonly "0x1::comparator": { readonly "0": { readonly name: "EQUAL"; }; }; readonly "0x1::consensus_config": { readonly "1": { readonly name: "EINVALID_CONFIG"; readonly doc: "The provided on chain config bytes are empty or invalid"; }; }; readonly "0x1::ed25519": { readonly "1": { readonly name: "E_WRONG_PUBKEY_SIZE"; readonly doc: "Wrong number of bytes were given as input when deserializing an Ed25519 public key."; }; readonly "2": { readonly name: "E_WRONG_SIGNATURE_SIZE"; readonly doc: "Wrong number of bytes were given as input when deserializing an Ed25519 signature."; }; }; readonly "0x1::fixed_point32": { readonly "65537": { readonly name: "EDENOMINATOR"; readonly doc: "The denominator provided was zero"; }; readonly "65540": { readonly name: "EDIVISION_BY_ZERO"; readonly doc: "A division by zero was encountered"; }; readonly "131074": { readonly name: "EDIVISION"; readonly doc: "The quotient value would be too large to be held in a `u64`"; }; readonly "131075": { readonly name: "EMULTIPLICATION"; readonly doc: "The multiplied value would be too large to be held in a `u64`"; }; readonly "131077": { readonly name: "ERATIO_OUT_OF_RANGE"; readonly doc: "The computed ratio when converting to a `FixedPoint32` would be unrepresentable"; }; }; readonly "0x1::gas_schedule": { readonly "1": { readonly name: "EINVALID_GAS_SCHEDULE"; readonly doc: "The provided gas schedule bytes are empty or invalid"; }; }; readonly "0x1::guid": { readonly "0": { readonly name: "EGUID_GENERATOR_NOT_PUBLISHED"; readonly doc: "GUID generator must be published ahead of first usage of `create_with_capability` function."; }; }; readonly "0x1::managed_coin": { readonly "1": { readonly name: "ENO_CAPABILITIES"; readonly doc: "Account has no capabilities (burn/mint)."; }; }; readonly "0x1::option": { readonly "262144": { readonly name: "EOPTION_IS_SET"; readonly doc: "The `Option` is in an invalid state for the operation attempted.\nThe `Option` is `Some` while it should be `None`."; }; readonly "262145": { readonly name: "EOPTION_NOT_SET"; readonly doc: "The `Option` is in an invalid state for the operation attempted.\nThe `Option` is `None` while it should be `Some`."; }; }; readonly "0x1::optional_aggregator": { readonly "1": { readonly name: "EAGGREGATOR_OVERFLOW"; }; readonly "2": { readonly name: "EAGGREGATOR_UNDERFLOW"; }; }; readonly "0x1::reconfiguration": { readonly "1": { readonly name: "ECONFIGURATION"; readonly doc: "The `Configuration` resource is in an invalid state"; }; readonly "2": { readonly name: "ECONFIG"; readonly doc: "A `Reconfiguration` resource is in an invalid state"; }; readonly "3": { readonly name: "EMODIFY_CAPABILITY"; readonly doc: "A `ModifyConfigCapability` is in a different state than was expected"; }; readonly "4": { readonly name: "EINVALID_BLOCK_TIME"; readonly doc: "An invalid block time was encountered."; }; readonly "5": { readonly name: "EINVALID_GUID_FOR_EVENT"; readonly doc: "An invalid block time was encountered."; }; }; readonly "0x1::resource_account": { readonly "1": { readonly name: "ECONTAINER_NOT_PUBLISHED"; readonly doc: "Container resource not found in account"; }; }; readonly "0x1::secp256k1": { readonly "1": { readonly name: "E_DESERIALIZE"; readonly doc: "An error occurred while deserializing, for example due to wrong input size."; }; }; readonly "0x1::simple_map": { readonly "1": { readonly name: "EKEY_ALREADY_EXISTS"; readonly doc: "Map key already exists"; }; readonly "2": { readonly name: "EKEY_NOT_FOUND"; readonly doc: "Map key is not found"; }; }; readonly "0x1::stake": { readonly "1": { readonly name: "ELOCK_TIME_TOO_SHORT"; readonly doc: "Lockup period is shorter than required."; }; readonly "2": { readonly name: "EWITHDRAW_NOT_ALLOWED"; readonly doc: "Withdraw not allowed, the stake is still locked."; }; readonly "3": { readonly name: "EVALIDATOR_CONFIG"; readonly doc: "Validator Config not published."; }; readonly "4": { readonly name: "ESTAKE_TOO_LOW"; readonly doc: "Not enough stake to join validator set."; }; readonly "5": { readonly name: "ESTAKE_TOO_HIGH"; readonly doc: "Too much stake to join validator set."; }; readonly "6": { readonly name: "EALREADY_ACTIVE_VALIDATOR"; readonly doc: "Account is already a validator or pending validator."; }; readonly "7": { readonly name: "ENOT_VALIDATOR"; readonly doc: "Account is not a validator."; }; readonly "8": { readonly name: "ELAST_VALIDATOR"; readonly doc: "Can't remove last validator."; }; readonly "9": { readonly name: "ESTAKE_EXCEEDS_MAX"; readonly doc: "Total stake exceeds maximum allowed."; }; readonly "10": { readonly name: "EALREADY_REGISTERED"; readonly doc: "Account is already registered as a validator candidate."; }; readonly "11": { readonly name: "ENO_COINS_TO_WITHDRAW"; readonly doc: "No coins in inactive state to withdraw from specified pool."; }; readonly "12": { readonly name: "ENOT_OPERATOR"; readonly doc: "Account does not have the right operator capability."; }; readonly "13": { readonly name: "ELOCK_TIME_TOO_LONG"; readonly doc: "Lockup period is longer than allowed."; }; readonly "14": { readonly name: "ENO_POST_GENESIS_VALIDATOR_SET_CHANGE_ALLOWED"; }; readonly "15": { readonly name: "EINVALID_PUBLIC_KEY"; readonly doc: "Invalid consensus public key"; }; readonly "16": { readonly name: "EINVALID_STAKE_AMOUNT"; readonly doc: "Invalid stake amount (usuaully 0)."; }; readonly "18": { readonly name: "EVALIDATOR_SET_TOO_LARGE"; readonly doc: "Validator set exceeds the limit"; }; readonly "19": { readonly name: "EVOTING_POWER_INCREASE_EXCEEDS_LIMIT"; readonly doc: "Voting power increase has exceeded the limit for this current epoch."; }; }; readonly "0x1::staking_config": { readonly "1": { readonly name: "EZERO_LOCKUP_DURATION"; readonly doc: "Stake lockup duration cannot be zero"; }; readonly "2": { readonly name: "EZERO_REWARDS_RATE_DENOMINATOR"; readonly doc: "Reward rate denominator cannot be zero"; }; readonly "3": { readonly name: "EINVALID_STAKE_RANGE"; readonly doc: "Specified stake range is invalid. Max must be greater than min"; }; readonly "4": { readonly name: "EINVALID_VOTING_POWER_INCREASE_LIMIT"; readonly doc: "The voting power increase limit percentage must be within (0, 50]"; }; }; readonly "0x1::string": { readonly "1": { readonly name: "EINVALID_UTF8"; readonly doc: "An invalid UTF8 encoding."; }; readonly "2": { readonly name: "EINVALID_INDEX"; readonly doc: "Index out of range."; }; }; readonly "0x1::system_addresses": { readonly "1": { readonly name: "ENOT_CORE_RESOURCE_ADDRESS"; readonly doc: "The address/account did not correspond to the core resource address"; }; readonly "2": { readonly name: "EVM"; readonly doc: "The operation can only be performed by the VM"; }; readonly "3": { readonly name: "ENOT_APTOS_FRAMEWORK_ADDRESS"; readonly doc: "The address/account did not correspond to the core framework address"; }; }; readonly "0x1::table_with_length": { readonly "100": { readonly name: "EALREADY_EXISTS"; }; readonly "101": { readonly name: "ENOT_FOUND"; }; readonly "102": { readonly name: "ENOT_EMPTY"; }; }; readonly "0x1::timestamp": { readonly "1": { readonly name: "ENOT_OPERATING"; readonly doc: "The blockchain is not in an operating state yet"; }; readonly "2": { readonly name: "EINVALID_TIMESTAMP"; readonly doc: "An invalid timestamp was provided"; }; }; readonly "0x1::vector": { readonly "131072": { readonly name: "EINDEX_OUT_OF_BOUNDS"; readonly doc: "The index into the vector is out of bounds"; }; }; readonly "0x1::version": { readonly "1": { readonly name: "EINVALID_MAJOR_VERSION_NUMBER"; readonly doc: "Specified major version number must be greater than current version number."; }; readonly "2": { readonly name: "ENOT_AUTHORIZED"; readonly doc: "Account is not authorized to make this change."; }; }; readonly "0x1::voting": { readonly "1": { readonly name: "EPROPOSAL_EXECUTION_HASH_NOT_MATCHING"; readonly doc: "Current script's execution hash does not match the specified proposal's"; }; readonly "2": { readonly name: "EPROPOSAL_CANNOT_BE_RESOLVED"; readonly doc: "Proposal cannot be resolved. Either voting duration has not passed, not enough votes, or fewer yes than no votes"; }; readonly "3": { readonly name: "EPROPOSAL_ALREADY_RESOLVED"; readonly doc: "Proposal cannot be resolved more than once"; }; readonly "4": { readonly name: "EPROPOSAL_EMPTY_EXECUTION_HASH"; readonly doc: "Proposal cannot contain an empty execution script hash"; }; }; }; }; //# sourceMappingURL=errmap.d.ts.map