web3-errors
Index
Classes
- AbiError
- BaseWeb3Error
- ChainIdMismatchError
- ChainMismatchError
- CommonOrChainAndHardforkError
- ConfigChainMismatchError
- ConfigHardforkMismatchError
- ConnectionCloseError
- ConnectionError
- ConnectionNotOpenError
- ConnectionTimeoutError
- ContractCodeNotStoredError
- ContractEventDoesNotExistError
- ContractExecutionError
- ContractInstantiationError
- ContractMissingABIError
- ContractMissingDeployDataError
- ContractNoAddressDefinedError
- ContractNoFromAddressDefinedError
- ContractOnceRequiresCallbackError
- ContractReservedEventError
- ContractTransactionDataAndInputError
- EIP1193ProviderRpcError
- ENSCheckInterfaceSupportError
- ENSNetworkNotSyncedError
- ENSUnsupportedNetworkError
- Eip1559GasPriceError
- Eip1559NotSupportedError
- Eip838ExecutionError
- ExistingPluginNamespaceError
- FormatterError
- HardforkMismatchError
- HexProcessingError
- IVLengthError
- InternalError
- InvalidAddressError
- InvalidBlockError
- InvalidBooleanError
- InvalidBytesError
- InvalidClientError
- InvalidConnectionError
- InvalidGasOrGasPrice
- InvalidInputError
- InvalidIntegerError
- InvalidKdfError
- InvalidLargeValueError
- InvalidMaxPriorityFeePerGasOrMaxFeePerGas
- InvalidMethodParamsError
- InvalidNonceOrChainIdError
- InvalidNumberError
- InvalidNumberOfParamsError
- InvalidParamsError
- InvalidPasswordError
- InvalidPrivateKeyError
- InvalidPropertiesForTransactionTypeError
- InvalidProviderError
- InvalidRequestError
- InvalidResponseError
- InvalidSignatureError
- InvalidSizeError
- InvalidStringError
- InvalidTransactionCall
- InvalidTransactionObjectError
- InvalidTransactionWithReceiver
- InvalidTransactionWithSender
- InvalidTypeAbiInputError
- InvalidTypeError
- InvalidUnitError
- InvalidUnsignedIntegerError
- InvalidValueError
- KeyDerivationError
- KeyStoreVersionError
- LimitExceededError
- LocalWalletNotAvailableError
- MaxAttemptsReachedOnReconnectingError
- MethodNotFoundError
- MethodNotImplementedError
- MethodNotSupported
- MissingChainOrHardforkError
- MissingCustomChainError
- MissingCustomChainIdError
- MissingGasError
- MissingGasInnerError
- MultipleErrors
- NibbleWidthError
- NoContractAddressFoundError
- OperationAbortError
- OperationTimeoutError
- PBKDF2IterationsError
- ParseError
- PendingRequestsOnReconnectingError
- PrivateKeyLengthError
- ProviderError
- RequestAlreadySentError
- ResolverMethodMissingError
- ResourceUnavailableError
- ResourcesNotFoundError
- ResponseError
- RevertInstructionError
- RpcError
- SchemaFormatError
- SignatureError
- SubscriptionError
- TransactionBlockTimeoutError
- TransactionDataAndInputError
- TransactionError
- TransactionGasMismatchError
- TransactionGasMismatchInnerError
- TransactionMissingReceiptOrBlockHashError
- TransactionNotFound
- TransactionOutOfGasError
- TransactionPollingTimeoutError
- TransactionReceiptMissingBlockNumberError
- TransactionRejectedError
- TransactionRevertInstructionError
- TransactionRevertWithCustomError
- TransactionRevertedWithoutReasonError
- TransactionSendTimeoutError
- TransactionSigningError
- UnableToPopulateNonceError
- UndefinedRawTransactionError
- UnsupportedFeeMarketError
- UnsupportedTransactionTypeError
- VersionNotSupportedError
- Web3ContractError
- Web3WSProviderError
Type Aliases
Variables
- ERR_ABI_ENCODING
- ERR_CONN
- ERR_CONN_CLOSE
- ERR_CONN_INVALID
- ERR_CONN_MAX_ATTEMPTS
- ERR_CONN_NOT_OPEN
- ERR_CONN_PENDING_REQUESTS
- ERR_CONN_TIMEOUT
- ERR_CONTRACT
- ERR_CONTRACT_ABI_MISSING
- ERR_CONTRACT_EVENT_NOT_EXISTS
- ERR_CONTRACT_EXECUTION_REVERTED
- ERR_CONTRACT_INSTANTIATION
- ERR_CONTRACT_MISSING_ADDRESS
- ERR_CONTRACT_MISSING_DEPLOY_DATA
- ERR_CONTRACT_MISSING_FROM_ADDRESS
- ERR_CONTRACT_REQUIRED_CALLBACK
- ERR_CONTRACT_RESERVED_EVENT
- ERR_CONTRACT_RESOLVER_MISSING
- ERR_CONTRACT_TX_DATA_AND_INPUT
- ERR_CORE_CHAIN_MISMATCH
- ERR_CORE_HARDFORK_MISMATCH
- ERR_ENS_CHECK_INTERFACE_SUPPORT
- ERR_ENS_NETWORK_NOT_SYNCED
- ERR_ENS_UNSUPPORTED_NETWORK
- ERR_EXISTING_PLUGIN_NAMESPACE
- ERR_FORMATTERS
- ERR_INVALID_ADDRESS
- ERR_INVALID_BLOCK
- ERR_INVALID_BOOLEAN
- ERR_INVALID_BYTES
- ERR_INVALID_CLIENT
- ERR_INVALID_HEX
- ERR_INVALID_INTEGER
- ERR_INVALID_KEYSTORE
- ERR_INVALID_LARGE_VALUE
- ERR_INVALID_METHOD_PARAMS
- ERR_INVALID_NIBBLE_WIDTH
- ERR_INVALID_NUMBER
- ERR_INVALID_PASSWORD
- ERR_INVALID_PRIVATE_KEY
- ERR_INVALID_PROVIDER
- ERR_INVALID_RESPONSE
- ERR_INVALID_SIGNATURE
- ERR_INVALID_SIZE
- ERR_INVALID_STRING
- ERR_INVALID_TYPE
- ERR_INVALID_TYPE_ABI
- ERR_INVALID_UNIT
- ERR_INVALID_UNSIGNED_INTEGER
- ERR_IV_LENGTH
- ERR_KEY_DERIVATION_FAIL
- ERR_KEY_VERSION_UNSUPPORTED
- ERR_METHOD_NOT_IMPLEMENTED
- ERR_MULTIPLE_ERRORS
- ERR_OPERATION_ABORT
- ERR_OPERATION_TIMEOUT
- ERR_PARAM
- ERR_PBKDF2_ITERATIONS
- ERR_PRIVATE_KEY_LENGTH
- ERR_PROVIDER
- ERR_RAW_TX_UNDEFINED
- ERR_REQ_ALREADY_SENT
- ERR_RESPONSE
- ERR_RPC_INTERNAL_ERROR
- ERR_RPC_INVALID_INPUT
- ERR_RPC_INVALID_JSON
- ERR_RPC_INVALID_METHOD
- ERR_RPC_INVALID_PARAMS
- ERR_RPC_INVALID_REQUEST
- ERR_RPC_LIMIT_EXCEEDED
- ERR_RPC_MISSING_RESOURCE
- ERR_RPC_NOT_SUPPORTED
- ERR_RPC_TRANSACTION_REJECTED
- ERR_RPC_UNAVAILABLE_RESOURCE
- ERR_RPC_UNSUPPORTED_METHOD
- ERR_SCHEMA_FORMAT
- ERR_SIGNATURE_FAILED
- ERR_SUBSCRIPTION
- ERR_TX
- ERR_TX_BLOCK_TIMEOUT
- ERR_TX_CHAIN_ID_MISMATCH
- ERR_TX_CHAIN_MISMATCH
- ERR_TX_CONTRACT_NOT_STORED
- ERR_TX_DATA_AND_INPUT
- ERR_TX_GAS_MISMATCH
- ERR_TX_GAS_MISMATCH_INNER_ERROR
- ERR_TX_HARDFORK_MISMATCH
- ERR_TX_INVALID_CALL
- ERR_TX_INVALID_CHAIN_INFO
- ERR_TX_INVALID_FEE_MARKET_GAS
- ERR_TX_INVALID_FEE_MARKET_GAS_PRICE
- ERR_TX_INVALID_LEGACY_FEE_MARKET
- ERR_TX_INVALID_LEGACY_GAS
- ERR_TX_INVALID_NONCE_OR_CHAIN_ID
- ERR_TX_INVALID_OBJECT
- ERR_TX_INVALID_PROPERTIES_FOR_TYPE
- ERR_TX_INVALID_RECEIVER
- ERR_TX_INVALID_SENDER
- ERR_TX_LOCAL_WALLET_NOT_AVAILABLE
- ERR_TX_MISSING_CHAIN_INFO
- ERR_TX_MISSING_CUSTOM_CHAIN
- ERR_TX_MISSING_CUSTOM_CHAIN_ID
- ERR_TX_MISSING_GAS
- ERR_TX_MISSING_GAS_INNER_ERROR
- ERR_TX_NOT_FOUND
- ERR_TX_NO_CONTRACT_ADDRESS
- ERR_TX_OUT_OF_GAS
- ERR_TX_POLLING_TIMEOUT
- ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER
- ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL
- ERR_TX_REVERT_INSTRUCTION
- ERR_TX_REVERT_TRANSACTION
- ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR
- ERR_TX_REVERT_WITHOUT_REASON
- ERR_TX_SEND_TIMEOUT
- ERR_TX_SIGNING
- ERR_TX_UNABLE_TO_POPULATE_NONCE
- ERR_TX_UNSUPPORTED_EIP_1559
- ERR_TX_UNSUPPORTED_TYPE
- ERR_UNSUPPORTED_KDF
- ERR_VALIDATION
- ERR_WS_PROVIDER
- GENESIS_BLOCK_NUMBER
- JSONRPC_ERR_CHAIN_DISCONNECTED
- JSONRPC_ERR_DISCONNECTED
- JSONRPC_ERR_REJECTED_REQUEST
- JSONRPC_ERR_UNAUTHORIZED
- JSONRPC_ERR_UNSUPPORTED_METHOD
- RpcErrorMessages
- genericRpcErrorMessageTemplate
- rpcErrorsMap
Type Aliases
ProviderErrorData
Variables
constERR_ABI_ENCODING
constERR_CONN
constERR_CONN_CLOSE
constERR_CONN_INVALID
constERR_CONN_MAX_ATTEMPTS
constERR_CONN_NOT_OPEN
constERR_CONN_PENDING_REQUESTS
constERR_CONN_TIMEOUT
constERR_CONTRACT
constERR_CONTRACT_ABI_MISSING
constERR_CONTRACT_EVENT_NOT_EXISTS
constERR_CONTRACT_EXECUTION_REVERTED
constERR_CONTRACT_INSTANTIATION
constERR_CONTRACT_MISSING_ADDRESS
constERR_CONTRACT_MISSING_DEPLOY_DATA
constERR_CONTRACT_MISSING_FROM_ADDRESS
constERR_CONTRACT_REQUIRED_CALLBACK
constERR_CONTRACT_RESERVED_EVENT
constERR_CONTRACT_RESOLVER_MISSING
constERR_CONTRACT_TX_DATA_AND_INPUT
constERR_CORE_CHAIN_MISMATCH
constERR_CORE_HARDFORK_MISMATCH
constERR_ENS_CHECK_INTERFACE_SUPPORT
constERR_ENS_NETWORK_NOT_SYNCED
constERR_ENS_UNSUPPORTED_NETWORK
constERR_EXISTING_PLUGIN_NAMESPACE
constERR_FORMATTERS
constERR_INVALID_ADDRESS
constERR_INVALID_BLOCK
constERR_INVALID_BOOLEAN
constERR_INVALID_BYTES
constERR_INVALID_CLIENT
constERR_INVALID_HEX
constERR_INVALID_INTEGER
constERR_INVALID_KEYSTORE
constERR_INVALID_LARGE_VALUE
constERR_INVALID_METHOD_PARAMS
constERR_INVALID_NIBBLE_WIDTH
constERR_INVALID_NUMBER
constERR_INVALID_PASSWORD
constERR_INVALID_PRIVATE_KEY
constERR_INVALID_PROVIDER
constERR_INVALID_RESPONSE
constERR_INVALID_SIGNATURE
constERR_INVALID_SIZE
constERR_INVALID_STRING
constERR_INVALID_TYPE
constERR_INVALID_TYPE_ABI
constERR_INVALID_UNIT
constERR_INVALID_UNSIGNED_INTEGER
constERR_IV_LENGTH
constERR_KEY_DERIVATION_FAIL
constERR_KEY_VERSION_UNSUPPORTED
constERR_METHOD_NOT_IMPLEMENTED
constERR_MULTIPLE_ERRORS
constERR_OPERATION_ABORT
constERR_OPERATION_TIMEOUT
constERR_PARAM
constERR_PBKDF2_ITERATIONS
constERR_PRIVATE_KEY_LENGTH
constERR_PROVIDER
constERR_RAW_TX_UNDEFINED
constERR_REQ_ALREADY_SENT
constERR_RESPONSE
constERR_RPC_INTERNAL_ERROR
constERR_RPC_INVALID_INPUT
constERR_RPC_INVALID_JSON
constERR_RPC_INVALID_METHOD
constERR_RPC_INVALID_PARAMS
constERR_RPC_INVALID_REQUEST
constERR_RPC_LIMIT_EXCEEDED
constERR_RPC_MISSING_RESOURCE
constERR_RPC_NOT_SUPPORTED
constERR_RPC_TRANSACTION_REJECTED
constERR_RPC_UNAVAILABLE_RESOURCE
constERR_RPC_UNSUPPORTED_METHOD
constERR_SCHEMA_FORMAT
constERR_SIGNATURE_FAILED
constERR_SUBSCRIPTION
constERR_TX
constERR_TX_BLOCK_TIMEOUT
constERR_TX_CHAIN_ID_MISMATCH
constERR_TX_CHAIN_MISMATCH
constERR_TX_CONTRACT_NOT_STORED
constERR_TX_DATA_AND_INPUT
constERR_TX_GAS_MISMATCH
constERR_TX_GAS_MISMATCH_INNER_ERROR
constERR_TX_HARDFORK_MISMATCH
constERR_TX_INVALID_CALL
constERR_TX_INVALID_CHAIN_INFO
constERR_TX_INVALID_FEE_MARKET_GAS
constERR_TX_INVALID_FEE_MARKET_GAS_PRICE
constERR_TX_INVALID_LEGACY_FEE_MARKET
constERR_TX_INVALID_LEGACY_GAS
constERR_TX_INVALID_NONCE_OR_CHAIN_ID
constERR_TX_INVALID_OBJECT
constERR_TX_INVALID_PROPERTIES_FOR_TYPE
constERR_TX_INVALID_RECEIVER
constERR_TX_INVALID_SENDER
constERR_TX_LOCAL_WALLET_NOT_AVAILABLE
constERR_TX_MISSING_CHAIN_INFO
constERR_TX_MISSING_CUSTOM_CHAIN
constERR_TX_MISSING_CUSTOM_CHAIN_ID
constERR_TX_MISSING_GAS
constERR_TX_MISSING_GAS_INNER_ERROR
constERR_TX_NOT_FOUND
constERR_TX_NO_CONTRACT_ADDRESS
constERR_TX_OUT_OF_GAS
constERR_TX_POLLING_TIMEOUT
constERR_TX_RECEIPT_MISSING_BLOCK_NUMBER
constERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL
constERR_TX_REVERT_INSTRUCTION
constERR_TX_REVERT_TRANSACTION
constERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR
constERR_TX_REVERT_WITHOUT_REASON
constERR_TX_SEND_TIMEOUT
constERR_TX_SIGNING
constERR_TX_UNABLE_TO_POPULATE_NONCE
constERR_TX_UNSUPPORTED_EIP_1559
constERR_TX_UNSUPPORTED_TYPE
constERR_UNSUPPORTED_KDF
constERR_VALIDATION
constERR_WS_PROVIDER
constGENESIS_BLOCK_NUMBER
constJSONRPC_ERR_CHAIN_DISCONNECTED
constJSONRPC_ERR_DISCONNECTED
constJSONRPC_ERR_REJECTED_REQUEST
constJSONRPC_ERR_UNAUTHORIZED
constJSONRPC_ERR_UNSUPPORTED_METHOD
constRpcErrorMessages
Type declaration
[key number | string]: { description?: string; message: string; name?: string }
A template string for a generic Rpc Error. The
*code*
will be replaced with the code number. Note: consider in next version that a spelling mistake could be corrected foroccured
and the value could be:An Rpc error has occurred with a code of *code*