Skip to content

remora-monorepo


remora-monorepo / lib / snapshotError

Function: snapshotError()

snapshotError(err): object

Defined in: packages/core/src/executor/state.ts:181

Convert a StepExecutionError class instance to a serializable snapshot.

Parameters

err

StepExecutionError

Returns

object

category

category: string = "string"

code

code: string = "string"

isRetryable?

optional isRetryable: boolean = "boolean"

message

message: string = "string"

statusCode?

optional statusCode: number = "number"

stepId?

optional stepId: string = "string"