exception

fun <T : Throwable> <Error class: unknown class>.exception(klass: Class<T>, handler: suspend PipelineContext<Unit, PipelineCall>.(T) -> Unit)

Register an exception handler for the exception class klass and its children