Skip to content

Commit eca3ca8

Browse files
committed
chore(docs): regenerate api references on the merged tree
The os-regen driver deferred content/docs/references/api/{contract,error-code-ledger}.mdx during the merge of origin/main. Regenerated from the merged spec source, so the vocabulary count reflects the UNION of both sides rather than either side's textual +296. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T6HeZvT9wdSJD1ZxJb5Eno
1 parent d2a41ff commit eca3ca8

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
@@ -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' \| … +296 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' \| … +297 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`. |
@@ -224,6 +224,7 @@ const result = ApiErrorSchema.parse(data);
224224
* `METADATA_NOT_FOUND`
225225
* `METADATA_SCHEMA_INVALID`
226226
* `MULTI_UPDATE_HOOK_KEY_DIVERGENCE`
227+
* `NAMESPACE_CONFLICT`
227228
* `NAMESPACE_PREFIX`
228229
* `NEEDS_PASSWORD`
229230
* `NODE_FAILURE`

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ const result = ErrorCode.parse(data);
340340
* `METADATA_NOT_FOUND`
341341
* `METADATA_SCHEMA_INVALID`
342342
* `MULTI_UPDATE_HOOK_KEY_DIVERGENCE`
343+
* `NAMESPACE_CONFLICT`
343344
* `NAMESPACE_PREFIX`
344345
* `NEEDS_PASSWORD`
345346
* `NODE_FAILURE`

0 commit comments

Comments
 (0)