ConfigError
What ConfigError means, which codes it carries and how to catch it in ensforge. The ensforge client or a call is configured incorrectly.
Error class8 codes · @ensforge/sdk
The ensforge client or a call is configured incorrectly. Fix the code; retrying does not help.
Any action can fail with ConfigError: it is part of Errors.CommonError.
Codes
| Code | Meaning | Retryable |
|---|---|---|
UNKNOWN_CHAIN | ensforge has no ENS deployment for this chain. | No |
INVALID_DEPLOYMENT | The deployment profile is invalid. | No |
CONTRACT_NOT_DEPLOYED | No contract is deployed at the called address. | No |
WALLET_NOT_CONFIGURED | This action needs a wallet client with an account. | No |
INDEXER_NOT_CONFIGURED | This action needs an indexer. | No |
CCIP_READ_DISABLED | This name resolves off-chain, and CCIP-Read is disabled. | No |
INVALID_ACTION_GROUP | A decorator added an action group with a reserved name. | No |
CHAIN_NOT_CONFIGURED | The client has no clients for chain ?. | No |
Catch it
Effect.catchTag("ConfigError", …) or error instanceof Errors.ConfigError. See Handle errors.
Was this page helpful?