INVALID_EXPIRY
What INVALID_EXPIRY means, why InvalidInputError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
InvalidInputErrorNot retryable
@ensforge/sdk
What happened
The expiry cannot be in the past or earlier than the current expiry.
What to show users
| Title | Message | Action |
|---|---|---|
| Invalid expiry | The new expiry date is not valid. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
subname.update | for invalid input. |
wrapper.setChildFuses | for invalid input or fuses. |
Catch it
Errors.hasCode("INVALID_EXPIRY") narrows to this error. See Handle errors.
Was this page helpful?