handle

open override fun <T> handle(error: PipelineException, sourceFunction: Function<*>?, action: () -> T): T

Handles an exception thrown during any stage of the pipeline.

Return

the result of the action

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