Skip to content

Commit 1818d66

Browse files
committed
WIP(#27237): regenerate the API reference pages against main with #27338 and #27339
Claude-Session: https://claude.ai/code/session_01Utp6CaqVRa7ow6CjE1JwaG Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0c2c5ba commit 1818d66

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎content/docs/references/api/automation-api.mdx‎

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

348348
| Property | Type | Required | Description |
349349
| :--- | :--- | :--- | :--- |
350-
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +350 more>` | ✅ | The inner refusal's code in its WIRE spelling - the ADR-0112 member a record save of the same write answers in `error.code` (e.g. `UNIQUE_VIOLATION`); the closed set `ApiErrorSchema.code` parses against |
350+
| **code** | `Enum<'VALIDATION_ERROR' \| 'INVALID_FIELD' \| 'MISSING_REQUIRED_FIELD' \| 'INVALID_FORMAT' \| 'VALUE_TOO_LONG' \| 'VALUE_TOO_SHORT' \| 'VALUE_OUT_OF_RANGE' \| … +351 more>` | ✅ | The inner refusal's code in its WIRE spelling - the ADR-0112 member a record save of the same write answers in `error.code` (e.g. `UNIQUE_VIOLATION`); the closed set `ApiErrorSchema.code` parses against |
351351
| **message** | `string` | ✅ | The inner refusal's own diagnostic text, verbatim, without the node and operation prefixes the run's failure text adds |
352352

353353
### Allowed Values: `FlowInnerRefusal.code`
@@ -480,6 +480,7 @@ const result = AutomationApiErrorCode.parse(data);
480480
* `ERR_AUTONUMBER_COLLISION`
481481
* `ERR_BULK_RESULT_MISMATCH`
482482
* `ERR_CROSS_DATASOURCE_TRANSACTION_WRITE`
483+
* `ERR_CURRENCY_CODE_REQUIRED`
483484
* `ERR_DATASOURCE_UNAVAILABLE`
484485
* `ERR_DRIVER_CONNECT`
485486
* `ERR_FILE_CONSTRAINT`

‎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' \| … +350 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' \| … +351 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`. |
@@ -168,6 +168,7 @@ const result = ApiErrorSchema.parse(data);
168168
* `ERR_AUTONUMBER_COLLISION`
169169
* `ERR_BULK_RESULT_MISMATCH`
170170
* `ERR_CROSS_DATASOURCE_TRANSACTION_WRITE`
171+
* `ERR_CURRENCY_CODE_REQUIRED`
171172
* `ERR_DATASOURCE_UNAVAILABLE`
172173
* `ERR_DRIVER_CONNECT`
173174
* `ERR_FILE_CONSTRAINT`

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ const result = ErrorCode.parse(data);
335335
* `ERR_AUTONUMBER_COLLISION`
336336
* `ERR_BULK_RESULT_MISMATCH`
337337
* `ERR_CROSS_DATASOURCE_TRANSACTION_WRITE`
338+
* `ERR_CURRENCY_CODE_REQUIRED`
338339
* `ERR_DATASOURCE_UNAVAILABLE`
339340
* `ERR_DRIVER_CONNECT`
340341
* `ERR_FILE_CONSTRAINT`

0 commit comments

Comments
 (0)