Skip to content

Commit 56eeff2

Browse files
committed
docs(service-automation): name the filed spec gap (#14954) beside the code widening
Refs #14456 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XpTx2tbq3pZRYAdoGt6E6Y
1 parent 52c3896 commit 56eeff2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/services/service-automation/src/builtin/try-catch-node.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,9 @@ export function registerTryCatchNode(engine: AutomationEngine, ctx: PluginContex
229229
// `code` (#14419) is bound alongside but is NOT declared on
230230
// `TryCatchErrorValueSchema`, so it is spelled as an explicit widening
231231
// of the declared type rather than dropped — dropping it would regress
232-
// a catch region's ability to branch on `{$error.code}`. Filed as a
233-
// spec-lane gap; this file is not the place to change the contract.
232+
// a catch region's ability to branch on `{$error.code}`. The
233+
// divergence is filed as #14954 against the spec lane; this file is
234+
// not the place to change the contract.
234235
const errorValue: TryCatchErrorValue & { code?: string } = {
235236
nodeId: node.id,
236237
message: lastError,

0 commit comments

Comments
 (0)