/** * 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 "0": { readonly name: "EACCOUNT"; readonly doc: "Account already existed"; }; readonly "1": { readonly name: "ESEQUENCE_NUMBER_TOO_BIG"; readonly doc: "Sequence number exceeded the maximum value for a u64"; }; readonly "2": { readonly name: "ENOT_APTOS_FRAMEWORK"; readonly doc: "The address provided didn't match the `aptos_framework` address."; }; readonly "3": { readonly name: "EMALFORMED_AUTHENTICATION_KEY"; readonly doc: "The provided authentication had an invalid length"; }; readonly "4": { readonly name: "ECANNOT_CREATE_AT_VM_RESERVED"; }; readonly "5": { readonly name: "EGAS"; }; readonly "6": { readonly name: "ECANNOT_CREATE_AT_CORE_CODE"; }; readonly "7": { readonly name: "EADDR_NOT_MATCH_PREIMAGE"; }; readonly "8": { readonly name: "EWRITESET_NOT_ALLOWED"; }; readonly "9": { readonly name: "EMULTI_AGENT_NOT_SUPPORTED"; }; readonly "10": { readonly name: "EMODULE_NOT_ALLOWED"; }; readonly "11": { readonly name: "ESCRIPT_NOT_ALLOWED"; }; 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_DNE"; }; 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_ESCRIPT_NOT_ALLOWED"; }; readonly "1009": { readonly name: "PROLOGUE_EMODULE_NOT_ALLOWED"; }; readonly "1010": { readonly name: "PROLOGUE_EINVALID_WRITESET_SENDER"; }; readonly "1011": { readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_BIG"; }; readonly "1012": { 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::aptos_coin": { readonly "1": { readonly name: "ENO_CAPABILITIES"; readonly doc: "Error codes"; }; readonly "2": { readonly name: "EALREADY_DELEGATED"; }; readonly "3": { readonly name: "EDELEGATION_NOT_FOUND"; }; }; readonly "0x1::aptos_governance": { readonly "1": { readonly name: "EINSUFFICIENT_PROPOSER_STAKE"; readonly doc: "Error codes."; }; readonly "2": { readonly name: "ENOT_DELEGATED_VOTER"; }; readonly "3": { readonly name: "EINSUFFICIENT_STAKE_LOCKUP"; }; readonly "4": { readonly name: "EALREADY_VOTED"; }; readonly "5": { readonly name: "ENO_VOTING_POWER"; }; }; readonly "0x1::big_vector": { readonly "0": { readonly name: "EINDEX_OUT_OF_BOUNDS"; readonly doc: "The index into the vector is out of bounds"; }; readonly "1": { readonly name: "EOUT_OF_CAPACITY"; readonly doc: "Need to reserve more buckets for push_back_no_grow."; }; readonly "2": { readonly name: "ENOT_EMPTY"; readonly doc: "Destory 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 "0": { readonly name: "EBLOCK_METADATA"; readonly doc: "The `BlockMetadata` resource is in an invalid state"; }; readonly "1": { readonly name: "EVM_OR_VALIDATOR"; readonly doc: "An invalid signer was provided. Expected the signer to be the VM or a Validator."; }; }; readonly "0x1::bucket_table": { readonly "0": { readonly name: "ENOT_FOUND"; readonly doc: "Not found in the table;"; }; readonly "1": { readonly name: "EZERO_CAPACITY"; readonly doc: "Capacity should be larger than 0."; }; readonly "2": { readonly name: "ENOT_EMPTY"; readonly doc: "Destroy non-empty hashmap."; }; readonly "3": { readonly name: "EALREADY_EXIST"; readonly doc: "Key already exists"; }; }; readonly "0x1::capability": { readonly "0": { readonly name: "ECAP"; }; readonly "1": { readonly name: "EDELEGATE"; }; }; readonly "0x1::chain_id": { readonly "0": { readonly name: "ECHAIN_ID"; readonly doc: "The `ChainId` resource was not in the required state"; }; }; readonly "0x1::code": { readonly "1": { readonly name: "EMODULE_NAME_CLASH"; readonly doc: "A package is attempted to publish with module names clashing with modules published by other packages on this\naddress."; }; readonly "2": { readonly name: "EUPGRADE_IMMUTABLE"; readonly doc: "A package is attempted to upgrade which is marked as immutable."; }; readonly "3": { readonly name: "EUPGRADE_WEAKER_POLICY"; readonly doc: "A package is attempted to upgrade with a weaker policy than previously."; }; }; readonly "0x1::coin": { readonly "0": { readonly name: "ECOIN_INFO_ADDRESS_MISMATCH"; readonly doc: "When address of account which is used to initilize a coin `CoinType`\ndoesn't match the deployer of module containining `CoinType`."; }; readonly "1": { readonly name: "ECOIN_INFO_ALREADY_PUBLISHED"; readonly doc: "When `CoinType` is already initilized as a coin."; }; readonly "2": { readonly name: "ECOIN_INFO_NOT_PUBLISHED"; readonly doc: "When `CoinType` hasn't been initialized as a coin."; }; readonly "3": { readonly name: "ECOIN_STORE_ALREADY_PUBLISHED"; readonly doc: "When an account already has `CoinStore` registered for `CoinType`."; }; readonly "4": { readonly name: "ECOIN_STORE_NOT_PUBLISHED"; readonly doc: "When an account hasn't registered `CoinStore` for `CoinType`."; }; readonly "5": { readonly name: "EINSUFFICIENT_BALANCE"; readonly doc: "When there's not enough funds to withdraw from an account or from `Coin` resource."; }; readonly "6": { readonly name: "EDESTRUCTION_OF_NONZERO_TOKEN"; readonly doc: "When destruction of `Coin` resource contains non-zero value attempted."; }; readonly "7": { readonly name: "ETOTAL_SUPPLY_OVERFLOW"; readonly doc: "Total supply of the coin overflows. No additional coins can be minted."; }; readonly "8": { readonly name: "EINVALID_COIN_AMOUNT"; }; }; readonly "0x1::comparator": { readonly "0": { readonly name: "EQUAL"; }; }; readonly "0x1::consensus_config": { readonly "0": { readonly name: "ECONFIG"; readonly doc: "Error with config"; }; }; 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::genesis": { readonly "1": { readonly name: "EINVALID_EPOCH_DURATION"; readonly doc: "Invalid epoch duration."; }; }; readonly "0x1::governance_proposal": { readonly "1": { readonly name: "ETOO_LONG"; }; }; 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 "0": { readonly name: "ENO_CAPABILITIES"; readonly doc: "When no capabilities (burn/mint) found on an account."; }; }; 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::reconfiguration": { readonly "0": { readonly name: "ECONFIGURATION"; readonly doc: "The `Configuration` resource is in an invalid state"; }; readonly "1": { readonly name: "ECONFIG"; readonly doc: "A `Reconfiguration` resource is in an invalid state"; }; readonly "2": { readonly name: "EMODIFY_CAPABILITY"; readonly doc: "A `ModifyConfigCapability` is in a different state than was expected"; }; readonly "3": { readonly name: "EINVALID_BLOCK_TIME"; readonly doc: "An invalid block time was encountered."; }; readonly "4": { readonly name: "EINVALID_GUID_FOR_EVENT"; readonly doc: "An invalid block time was encountered."; }; }; readonly "0x1::resource_account": { readonly "0": { readonly name: "ECONTAINER_NOT_PUBLISHED"; }; }; readonly "0x1::simple_map": { readonly "0": { readonly name: "EKEY_ALREADY_EXISTS"; }; readonly "1": { readonly name: "EKEY_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: "ENOT_OWNER"; readonly doc: "Account does not have the right ownership capability."; }; readonly "12": { readonly name: "ENO_COINS_TO_WITHDRAW"; readonly doc: "No coins in inactive state to withdraw from specified pool."; }; readonly "13": { readonly name: "ENOT_OPERATOR"; readonly doc: "Account does not have the right operator capability."; }; readonly "14": { readonly name: "ELOCK_TIME_TOO_LONG"; readonly doc: "Lockup period is longer than allowed."; }; readonly "15": { readonly name: "ENO_POST_GENESIS_VALIDATOR_SET_CHANGE_ALLOWED"; }; readonly "16": { readonly name: "EINVALID_PUBLIC_KEY"; readonly doc: "Invalid consensus public key"; }; readonly "17": { readonly name: "EINVALID_STAKE_RANGE"; readonly doc: "Invalid required stake range, usually happens if min > max."; }; readonly "18": { readonly name: "EINVALID_LOCKUP_RANGE"; readonly doc: "Invalid required stake lockup, usually happens if min > max."; }; readonly "19": { readonly name: "EINVALID_REWARDS_RATE"; readonly doc: "Invalid rewards rate."; }; readonly "20": { readonly name: "EINVALID_STAKE_AMOUNT"; readonly doc: "Invalid stake amount (usuaully 0)."; }; }; 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 "0": { readonly name: "ENOT_CORE_RESOURCE_ADDRESS"; readonly doc: "The address/account did not correspond to the core resource address"; }; readonly "1": { readonly name: "EVM"; readonly doc: "The operation can only be performed by the VM"; }; readonly "2": { readonly name: "ENOT_CORE_FRAMEWORK_ADDRESS"; readonly doc: "The address/account did not correspond to the core framework address"; }; }; readonly "0x1::table": { readonly "100": { readonly name: "EALREADY_EXISTS"; }; readonly "101": { readonly name: "ENOT_FOUND"; }; readonly "102": { readonly name: "ENOT_EMPTY"; }; }; readonly "0x1::timestamp": { readonly "0": { readonly name: "ENOT_GENESIS"; readonly doc: "The blockchain is not in the genesis state anymore"; }; readonly "1": { readonly name: "ENOT_OPERATING"; readonly doc: "The blockchain is not in an operating state yet"; }; readonly "2": { readonly name: "ETIMESTAMP"; readonly doc: "An invalid timestamp was provided"; }; }; readonly "0x1::token": { readonly "0": { readonly name: "EALREADY_HAS_BALANCE"; }; readonly "1": { readonly name: "EBALANCE_NOT_PUBLISHED"; }; readonly "2": { readonly name: "ECOLLECTIONS_NOT_PUBLISHED"; }; readonly "3": { readonly name: "ECOLLECTION_NOT_PUBLISHED"; }; readonly "4": { readonly name: "ECOLLECTION_ALREADY_EXISTS"; }; readonly "5": { readonly name: "ECREATE_WOULD_EXCEED_MAXIMUM"; }; readonly "6": { readonly name: "EINSUFFICIENT_BALANCE"; }; readonly "7": { readonly name: "EINVALID_COLLECTION_NAME"; }; readonly "8": { readonly name: "EINVALID_TOKEN_MERGE"; }; readonly "9": { readonly name: "EMINT_WOULD_EXCEED_MAXIMUM"; }; readonly "10": { readonly name: "ENO_BURN_CAPABILITY"; }; readonly "11": { readonly name: "ENO_MINT_CAPABILITY"; }; readonly "12": { readonly name: "ETOKEN_ALREADY_EXISTS"; }; readonly "13": { readonly name: "ETOKEN_NOT_PUBLISHED"; }; readonly "14": { readonly name: "ETOKEN_STORE_NOT_PUBLISHED"; }; readonly "15": { readonly name: "ETOKEN_SPLIT_AMOUNT_LARGER_THEN_TOKEN_AMOUNT"; }; }; readonly "0x1::transaction_publishing_option": { readonly "1": { readonly name: "ECONFIG"; }; }; 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 "0": { readonly name: "ECONFIG"; readonly doc: "Error with config"; }; readonly "1": { readonly name: "EINVALID_MAJOR_VERSION_NUMBER"; readonly doc: "Tried to set an invalid major version for the VM. Major versions must be strictly increasing"; }; }; readonly "0x1::vm_config": { readonly "0": { readonly name: "ECONFIG"; readonly doc: "Error with config"; }; readonly "1": { readonly name: "EGAS_CONSTANT_INCONSISTENCY"; readonly doc: "The provided gas constants were inconsistent."; }; }; readonly "0x1::voting": { readonly "1": { readonly name: "EPROPOSAL_EXECUTION_HASH_NOT_MATCHING"; readonly doc: "Error codes."; }; readonly "2": { readonly name: "EPROPOSAL_CANNOT_BE_RESOLVED"; }; readonly "3": { readonly name: "EPROPOSAL_ALREADY_RESOLVED"; }; readonly "4": { readonly name: "EPROPOSAL_EMPTY_EXECUTION_HASH"; }; }; readonly "0x8f6ce396d6c4b9c7c992f018e94df010ec5c50835d1c83186c023bfa22df638c::mint_wrapper": { readonly "1": { readonly name: "ENOT_OWNER"; readonly doc: "Must be the owner of the mint wrapper."; }; readonly "2": { readonly name: "ENOT_MINTER"; readonly doc: "You do not have the minter privilege for this mint wrapper."; }; readonly "3": { readonly name: "EINSUFFICIENT_ALLOWANCE"; readonly doc: "Allowance exceeded."; }; }; readonly "0xf79945b8d98af4d50f1d9c84a27362d032e48c2c17a3f24e3c81cf4a2a0e06c0::inbox": { readonly "1": { readonly name: "ETRANSFER_NOT_PUBLISHED"; readonly doc: "No pending transfer was found with this id."; }; readonly "2": { readonly name: "ECANNOT_REFUND_NOT_CREATOR"; readonly doc: "Only the creator of a transfer may refund it."; }; readonly "3": { readonly name: "EREFUND_DEADLINE_NOT_MET"; readonly doc: "Not enough time has passed since creating this transfer."; }; }; readonly "0xf79945b8d98af4d50f1d9c84a27362d032e48c2c17a3f24e3c81cf4a2a0e06c0::inbox_signer": { readonly "1": { readonly name: "ENOT_SELF"; readonly doc: "Must sign as the module."; }; readonly "2": { readonly name: "ESELF_ALREADY_PUBLISHED"; readonly doc: "Module has already been initialized."; }; }; }; }; //# sourceMappingURL=errmap.d.ts.map