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

UserRejectedError

What UserRejectedError means, which codes it carries and how to catch it in ensforge. The user declined the request in their wallet.

Error class1 codes · @ensforge/sdk

The user declined the request in their wallet.

Any write can fail with UserRejectedError: it is part of Errors.WriteError.

Codes

CodeMeaningRetryable
USER_REJECTEDThe user rejected the request.No

Catch it

Effect.catchTag("UserRejectedError", …) or error instanceof Errors.UserRejectedError. See Handle errors.

Was this page helpful?

On this page