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

Nikky

09/23/2018, 9:38 PM
throw a exception and handle it in a status page with
Copy code
exception<AuthorizationException> { cause ->
        call.respond(HttpStatusCode.Forbidden)
    }
or similar
👍 1