CONTRACT_NOT_DEPLOYED
What CONTRACT_NOT_DEPLOYED means, why ConfigError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
ConfigErrorNot retryable
@ensforge/sdk
What happened
No contract is deployed at the called address.
What to show users
| Title | Message | Action |
|---|---|---|
| Network mismatch | The ENS contracts were not found on this network. | Check that your wallet is on the right network. |
How to fix
Check that the client's chain matches the deployment profile.
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
No action names this code in its documented errors.
Any action can fail with ConfigError: it is part of Errors.CommonError.
Catch it
Errors.hasCode("CONTRACT_NOT_DEPLOYED") narrows to this error. See Handle errors.
Was this page helpful?