Hander

Report a typo

Write the code that will handle the InternalServerException exception:

/* your code here */ { call, cause ->
    call.respondText(
        text = "500: Something went wrong", status = HttpStatusCode.InternalServerError
    )
}
Enter a short text
___

Create a free account to access the full topic