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_TOO_OLD

What COMMITMENT_TOO_OLD 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

The registration commitment has expired.

What to show users

TitleMessageAction
Registration expiredToo much time passed since the first step.Start the registration again.

How to fix

Commit again, then register.

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_TOO_OLD") narrows to this error. See Handle errors.

Was this page helpful?