@smithers-orchestrator/errors 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithers-orchestrator/errors",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Error types, tagged errors, and error utilities for Smithers",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -111,7 +111,7 @@ export const smithersErrorDefinitions = {
111
111
  TASK_HEARTBEAT_TIMEOUT: {
112
112
  category: "engine",
113
113
  when: "A task heartbeat timeout is exceeded while the task is still in progress.",
114
- details: "{ nodeId, iteration, attempt, timeoutMs, staleForMs }",
114
+ details: "{ nodeId, iteration, attempt, timeoutMs, staleForMs, lastHeartbeatAtMs }",
115
115
  },
116
116
  HEARTBEAT_PAYLOAD_TOO_LARGE: {
117
117
  category: "engine",
@@ -231,7 +231,7 @@ export const smithersErrorDefinitions = {
231
231
  },
232
232
  ASPECT_BUDGET_EXCEEDED: {
233
233
  category: "components",
234
- when: "An Aspects budget has been exceeded.",
234
+ when: "Reserved for future Aspects budget enforcement; the runtime does not emit this code yet.",
235
235
  details: "{ kind, limit, current }",
236
236
  },
237
237
  APPROVAL_OUTSIDE_TASK: {