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;
new StepTimeoutError(stepId, timeoutMs): StepTimeoutError;

Defined in: packages/workflow-core/src/types.ts:628

Parameters

stepId

string

timeoutMs

number

Returns

StepTimeoutError

Overrides

ts
Error.constructor
Error.constructor

Properties

cause?

ts
optional cause: unknown;
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.cause
Error.cause

message

ts
message: string;
message: string;

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from

ts
Error.message
Error.message

name

ts
readonly name: "StepTimeoutError" = 'StepTimeoutError';
readonly name: "StepTimeoutError" = 'StepTimeoutError';

Defined in: packages/workflow-core/src/types.ts:627

Overrides

ts
Error.name
Error.name

stack?

ts
optional stack: string;
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.stack
Error.stack

stepId

ts
readonly stepId: string;
readonly stepId: string;

Defined in: packages/workflow-core/src/types.ts:629


timeoutMs

ts
readonly timeoutMs: number;
readonly timeoutMs: number;

Defined in: packages/workflow-core/src/types.ts:630