Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

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

TitleMessageAction
Already startedA 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

ActionWhen
registration.commitfor a resumed commitment outside its window.
registration.registerfor a resumed commitment outside its window.

Catch it

Errors.hasCode("COMMITMENT_EXISTS") narrows to this error. See Handle errors.

Was this page helpful?