Skip to content

Commit 669bdae

Browse files
committed
chore(spec): regenerate the docs references for the six new ledger rows
Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 65a07bb commit 669bdae

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

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

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

2828
| Property | Type | Required | Description |
2929
| :--- | :--- | :--- | :--- |
30-
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +325 more>` | ✅ | Error code (e.g. VALIDATION_ERROR; StandardErrorCode ∪ the ledger the serving side registers — ERROR_CODE_LEDGER for framework packages) |
30+
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +331 more>` | ✅ | Error code (e.g. VALIDATION_ERROR; StandardErrorCode ∪ the ledger the serving side registers — ERROR_CODE_LEDGER for framework packages) |
3131
| **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) |
3232
| **message** | `string` | ✅ | Readable error message |
3333
| **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`. |
@@ -335,6 +335,12 @@ const result = ApiErrorSchema.parse(data);
335335
* `SSO_REGISTER_FAILED`
336336
* `SSO_REGISTER_FORBIDDEN`
337337
* `STACK_CAPABILITY_UNKNOWN`
338+
* `STACK_COMPOSE_ACTION_KEY_COLLISION`
339+
* `STACK_COMPOSE_COLLECTION_CONFLICT`
340+
* `STACK_COMPOSE_FUNCTIONS_SHAPE_CONFLICT`
341+
* `STACK_COMPOSE_FUNCTION_CONFLICT`
342+
* `STACK_COMPOSE_KEY_CONFLICT`
343+
* `STACK_COMPOSE_OBJECT_CONFLICT`
338344
* `STACK_CROSS_REFERENCE_INVALID`
339345
* `STACK_HIERARCHY_SCOPE_CAPABILITY_REQUIRED`
340346
* `STACK_NAMESPACE_PREFIX_INVALID`

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,12 @@ const result = ErrorCode.parse(data);
503503
* `SSO_REGISTER_FAILED`
504504
* `SSO_REGISTER_FORBIDDEN`
505505
* `STACK_CAPABILITY_UNKNOWN`
506+
* `STACK_COMPOSE_ACTION_KEY_COLLISION`
507+
* `STACK_COMPOSE_COLLECTION_CONFLICT`
508+
* `STACK_COMPOSE_FUNCTIONS_SHAPE_CONFLICT`
509+
* `STACK_COMPOSE_FUNCTION_CONFLICT`
510+
* `STACK_COMPOSE_KEY_CONFLICT`
511+
* `STACK_COMPOSE_OBJECT_CONFLICT`
506512
* `STACK_CROSS_REFERENCE_INVALID`
507513
* `STACK_HIERARCHY_SCOPE_CAPABILITY_REQUIRED`
508514
* `STACK_NAMESPACE_PREFIX_INVALID`

0 commit comments

Comments
 (0)