durable-execution-sdk-js.steperror._constructor_.md

December 2, 2025 ยท View on GitHub

Home > @aws/durable-execution-sdk-js > StepError > (constructor)

StepError.(constructor)

Constructs a new instance of the StepError class

Signature:

constructor(message?: string, cause?: Error, errorData?: string);

Parameters

Parameter

Type

Description

message

string

(Optional)

cause

Error

(Optional)

errorData

string

(Optional)

Contents

  1. 1StepError.(constructor)
  2. 2Parameters