Skip to main content

TryStmt

@webda/workflow


Interface: TryStmt

Defined in: packages/workflow/src/graph.ts:206

Catch the errors of a block

Properties​

body​

body: Stmt[]

Defined in: packages/workflow/src/graph.ts:218

Body


catch?​

optional catch?: Stmt[]

Defined in: packages/workflow/src/graph.ts:226

Catch


catchVar?​

optional catchVar?: string

Defined in: packages/workflow/src/graph.ts:222

Variable receiving the FlowError


finally?​

optional finally?: Stmt[]

Defined in: packages/workflow/src/graph.ts:230

Finally


id​

id: string

Defined in: packages/workflow/src/graph.ts:214

Unique identifier


kind​

kind: "try"

Defined in: packages/workflow/src/graph.ts:210

Kind