https://kotlinlang.org logo
#ktor
Title
# ktor
t

tjohnn

06/20/2019, 11:19 AM
How can I get the handle to the specific exception that’s being handled by StatusPages exception(){}?
c

cy

06/20/2019, 11:37 AM
it
Copy code
application.install(StatusPages) {
            exception<NotImplementedError> { error ->
                call.respondHtml(HttpStatusCode.NotImplemented) {
...
t

tjohnn

06/20/2019, 11:54 AM
Thanks. I was overthinking it.