exception

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

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