handle

abstract fun handle(error: PipelineException, sourceFunction: Function<*>?, action: () -> Unit)

Handles an exception thrown during any stage of the pipeline.

Parameters

error

exception to handle

sourceFunction

function that threw the error, if it was thrown inside a function call

action

additional custom error handler

See also