Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / HandleExecutionEventOptions

Interface: HandleExecutionEventOptions

Defined in: packages/chaingraph-types/src/flow/execution-handlers.ts:33

Configuration options for execution event handling

Properties

ignoreErrors?

optional ignoreErrors: boolean

Defined in: packages/chaingraph-types/src/flow/execution-handlers.ts:37

Whether to ignore errors in handlers (defaults to false)


onError()?

optional onError: (error, event) => void

Defined in: packages/chaingraph-types/src/flow/execution-handlers.ts:42

Custom error handler

Parameters

error

Error

event

ExecutionEventImpl

Returns

void

Licensed under BUSL-1.1