Represents the different error codes thrown by the SDK

Enumeration Members

ABI_MAIN_METHOD_MISSING ABI_TYPES_AND_VALUES_MISMATCH ACCOUNT_REQUIRED BIN_FILE_NOT_FOUND CHAIN_INFO_CACHE_EMPTY CODER_NOT_FOUND CONFIGURABLE_NOT_FOUND CONFIG_FILE_ALREADY_EXISTS CONFIG_FILE_NOT_FOUND CONNECTION_REFUSED CONTRACT_SIZE_EXCEEDS_LIMIT CONVERTING_FAILED DECODE_ERROR DUPLICATED_POLICY ELEMENT_NOT_FOUND ENCODE_ERROR ENV_DEPENDENCY_MISSING ERROR_BUILDING_BLOCK_EXPLORER_URL FUNCTION_NOT_FOUND FUNDS_TOO_LOW GAS_LIMIT_TOO_LOW GAS_PRICE_TOO_LOW HASHER_LOCKED HD_WALLET_ERROR INVALID_B256_ADDRESS INVALID_CHECKSUM INVALID_CHUNK_SIZE_MULTIPLIER INVALID_COMPONENT INVALID_CONFIGURABLE_CONSTANTS INVALID_CREDENTIALS INVALID_DATA INVALID_DECODE_VALUE INVALID_ENTROPY INVALID_EVM_ADDRESS INVALID_INPUT_PARAMETERS INVALID_MNEMONIC INVALID_PASSWORD INVALID_POLICY_TYPE INVALID_PROVIDER INVALID_PUBLIC_KEY INVALID_RECEIPT_TYPE INVALID_REQUEST INVALID_SEED INVALID_TRANSACTION_INPUT INVALID_TRANSACTION_OUTPUT INVALID_TRANSACTION_STATUS INVALID_TRANSFER_AMOUNT INVALID_TTL INVALID_URL INVALID_WORD_LIST JSON_ABI_ERROR LOG_TYPE_NOT_FOUND MAX_COINS_REACHED MAX_FEE_TOO_LOW MAX_INPUTS_EXCEEDED MAX_OUTPUTS_EXCEEDED MISSING_CONNECTOR MISSING_PROVIDER MISSING_REQUIRED_PARAMETER NODE_INFO_CACHE_EMPTY NODE_LAUNCH_FAILED NOT_ENOUGH_FUNDS NOT_IMPLEMENTED NOT_SUPPORTED NO_ABIS_FOUND PARSE_FAILED SCRIPT_RETURN_INVALID_TYPE SCRIPT_REVERTED STREAM_PARSING_ERROR TIMEOUT_EXCEEDED TRANSACTION_ERROR TRANSACTION_FAILED TRANSACTION_NOT_FOUND TRANSACTION_SQUEEZED_OUT TYPE_ID_NOT_FOUND TYPE_NOT_FOUND TYPE_NOT_SUPPORTED UNKNOWN UNLOCKED_WALLET_REQUIRED UNSUPPORTED_ENCODING_VERSION UNSUPPORTED_TRANSACTION_TYPE VITEPRESS_PLUGIN_ERROR WALLET_MANAGER_ERROR WORKSPACE_NOT_DETECTED

Enumeration Members

ABI_MAIN_METHOD_MISSING: "abi-main-method-missing"
ABI_TYPES_AND_VALUES_MISMATCH: "abi-types-and-values-mismatch"
ACCOUNT_REQUIRED: "account-required"
BIN_FILE_NOT_FOUND: "bin-file-not-found"
CHAIN_INFO_CACHE_EMPTY: "chain-info-cache-empty"
CODER_NOT_FOUND: "coder-not-found"
CONFIGURABLE_NOT_FOUND: "configurable-not-found"
CONFIG_FILE_ALREADY_EXISTS: "config-file-already-exists"
CONFIG_FILE_NOT_FOUND: "config-file-not-found"
CONNECTION_REFUSED: "connection-refused"
CONTRACT_SIZE_EXCEEDS_LIMIT: "contract-size-exceeds-limit"
CONVERTING_FAILED: "converting-error"
DECODE_ERROR: "decode-error"
DUPLICATED_POLICY: "duplicated-policy"
ELEMENT_NOT_FOUND: "element-not-found"
ENCODE_ERROR: "encode-error"
ENV_DEPENDENCY_MISSING: "env-dependency-missing"
ERROR_BUILDING_BLOCK_EXPLORER_URL: "error-building-block-explorer-url"
FUNCTION_NOT_FOUND: "function-not-found"
FUNDS_TOO_LOW: "funds-too-low"
GAS_LIMIT_TOO_LOW: "gas-limit-too-low"
GAS_PRICE_TOO_LOW: "gas-price-too-low"
HASHER_LOCKED: "hasher-locked"

This error code is no longer used

HD_WALLET_ERROR: "hd-wallet-error"
INVALID_B256_ADDRESS: "invalid-b256-address"
INVALID_CHECKSUM: "invalid-checksum"
INVALID_CHUNK_SIZE_MULTIPLIER: "invalid-chunk-size-multiplier"
INVALID_COMPONENT: "invalid-component"
INVALID_CONFIGURABLE_CONSTANTS: "invalid-configurable-constants"
INVALID_CREDENTIALS: "invalid-credentials"
INVALID_DATA: "invalid-data"
INVALID_DECODE_VALUE: "invalid-decode-value"
INVALID_ENTROPY: "invalid-entropy"
INVALID_EVM_ADDRESS: "invalid-evm-address"
INVALID_INPUT_PARAMETERS: "invalid-input-parameters"
INVALID_MNEMONIC: "invalid-mnemonic"
INVALID_PASSWORD: "invalid-password"
INVALID_POLICY_TYPE: "invalid-policy-type"
INVALID_PROVIDER: "invalid-provider"
INVALID_PUBLIC_KEY: "invalid-public-key"
INVALID_RECEIPT_TYPE: "invalid-receipt-type"
INVALID_REQUEST: "invalid-request"
INVALID_SEED: "invalid-seed"
INVALID_TRANSACTION_INPUT: "invalid-transaction-input"
INVALID_TRANSACTION_OUTPUT: "invalid-transaction-output"
INVALID_TRANSACTION_STATUS: "invalid-transaction-status"
INVALID_TRANSFER_AMOUNT: "invalid-transfer-amount"
INVALID_TTL: "invalid-ttl"
INVALID_URL: "invalid-url"
INVALID_WORD_LIST: "invalid-word-list"
JSON_ABI_ERROR: "json-abi-error"
LOG_TYPE_NOT_FOUND: "log-type-not-found"
MAX_COINS_REACHED: "max-coins-reached"
MAX_FEE_TOO_LOW: "max-fee-too-low"
MAX_INPUTS_EXCEEDED: "max-inputs-exceeded"
MAX_OUTPUTS_EXCEEDED: "max-outputs-exceeded"
MISSING_CONNECTOR: "missing-connector"
MISSING_PROVIDER: "missing-provider"
MISSING_REQUIRED_PARAMETER: "missing-required-parameter"
NODE_INFO_CACHE_EMPTY: "node-info-cache-empty"
NODE_LAUNCH_FAILED: "node-launch-failed"
NOT_ENOUGH_FUNDS: "not-enough-funds"
NOT_IMPLEMENTED: "not-implemented"
NOT_SUPPORTED: "not-supported"
NO_ABIS_FOUND: "no-abis-found"
PARSE_FAILED: "parse-failed"
SCRIPT_RETURN_INVALID_TYPE: "script-return-invalid-type"
SCRIPT_REVERTED: "script-reverted"
STREAM_PARSING_ERROR: "stream-parsing-error"
TIMEOUT_EXCEEDED: "timeout-exceeded"
TRANSACTION_ERROR: "transaction-error"
TRANSACTION_FAILED: "transaction-failed"
TRANSACTION_NOT_FOUND: "transaction-not-found"
TRANSACTION_SQUEEZED_OUT: "transaction-squeezed-out"
TYPE_ID_NOT_FOUND: "type-id-not-found"
TYPE_NOT_FOUND: "type-not-found"
TYPE_NOT_SUPPORTED: "type-not-supported"
UNKNOWN: "unknown"
UNLOCKED_WALLET_REQUIRED: "unlocked-wallet-required"
UNSUPPORTED_ENCODING_VERSION: "unsupported-encoding-version"
UNSUPPORTED_TRANSACTION_TYPE: "unsupported-transaction-type"
VITEPRESS_PLUGIN_ERROR: "vitepress-plugin-error"
WALLET_MANAGER_ERROR: "wallet-manager-error"
WORKSPACE_NOT_DETECTED: "workspace-not-detected"