toggle menu
ktor
3.0.2
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
jvm
switch theme
search in API
ktor-server-status-pages
/
io.ktor.server.plugins.statuspages
/
exception
exception
jvm
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