Skip to content

Commit 3810c7f

Browse files
committed
docs(references): regenerate for the ROLE_NOT_FOUND ledger entry (#24750)
Claude-Session: https://claude.ai/code/session_01SKHckexWmsVZ6qZ1sioSkD Co-authored-by: Claude <noreply@anthropic.com>
1 parent ef1b66d commit 3810c7f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎content/docs/references/api/contract.mdx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const result = ApiErrorSchema.parse(data);
2828

2929
| Property | Type | Required | Description |
3030
| :--- | :--- | :--- | :--- |
31-
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +339 more>` | ✅ | Error code (e.g. VALIDATION_ERROR; StandardErrorCode ∪ the ledger the serving side registers — ERROR_CODE_LEDGER for framework packages) |
31+
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +340 more>` | ✅ | Error code (e.g. VALIDATION_ERROR; StandardErrorCode ∪ the ledger the serving side registers — ERROR_CODE_LEDGER for framework packages) |
3232
| **declaredCode** | `string` | optional | The producer-declared code, verbatim, when it is not a member of the closed `code` vocabulary — the open, author-authored channel (app-specific spellings; ADR-0112) |
3333
| **message** | `string` | ✅ | Readable error message |
3434
| **userMessage** | `string` | optional | Producer-marked user-facing refusal text, verbatim. Present exactly when the producer opted in at throw time; consumers render it to end users and keep their generic substitution for anything unmarked. Status-agnostic; never replaces `message`. |
@@ -311,6 +311,7 @@ const result = ApiErrorSchema.parse(data);
311311
* `RESUME_FAILED`
312312
* `RESUME_IN_PROGRESS`
313313
* `RESUME_TARGET_LOST`
314+
* `ROLE_NOT_FOUND`
314315
* `ROLLED_BACK`
315316
* `ROUTE_NOT_FOUND`
316317
* `RULE_DEFINE_FAILED`

‎content/docs/references/api/error-code-ledger.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ const result = ErrorCode.parse(data);
478478
* `RESUME_FAILED`
479479
* `RESUME_IN_PROGRESS`
480480
* `RESUME_TARGET_LOST`
481+
* `ROLE_NOT_FOUND`
481482
* `ROLLED_BACK`
482483
* `ROUTE_NOT_FOUND`
483484
* `RULE_DEFINE_FAILED`

0 commit comments

Comments
 (0)