exception

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

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

Report a problem