COMMITMENT_EXISTS
What COMMITMENT_EXISTS means, why CommitmentError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
CommitmentErrorNot retryable
@ensforge/sdk
What happened
An unexpired commitment with the same data already exists.
What to show users
| Title | Message | Action |
|---|---|---|
| Already started | A registration for this name is already in progress. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
registration.commit | for a resumed commitment outside its window. |
registration.register | for a resumed commitment outside its window. |
Catch it
Errors.hasCode("COMMITMENT_EXISTS") narrows to this error. See Handle errors.
Was this page helpful?