Workflow Docs
AI/LLM: This documentation page is available in plain markdown format at/workflow/latest/docs/reference/classes/StepTimeoutError.md
StepTimeoutError
Class: StepTimeoutError#
Defined in: packages/workflow-core/src/types.ts:626
Thrown when a ctx.step() with { timeout } exceeds its wall-clock budget on a given attempt.
Extends#
- Error
Constructors#
Constructor#
ts
new StepTimeoutError(stepId, timeoutMs): StepTimeoutError;Defined in: packages/workflow-core/src/types.ts:628
Parameters#
stepId#
string
timeoutMs#
number
Returns#
StepTimeoutError
Overrides#
ts
Error.constructorProperties#
cause?#
ts
optional cause: unknown;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from#
ts
Error.causemessage#
ts
message: string;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from#
ts
Error.messagename#
ts
readonly name: "StepTimeoutError" = 'StepTimeoutError';Defined in: packages/workflow-core/src/types.ts:627
Overrides#
ts
Error.namestack?#
ts
optional stack: string;Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from#
ts
Error.stackstepId#
ts
readonly stepId: string;Defined in: packages/workflow-core/src/types.ts:629
timeoutMs#
ts
readonly timeoutMs: number;Defined in: packages/workflow-core/src/types.ts:630