Hexa
return@get
route("/test") { get { try { // some logic call.respond(HttpStatusCode.OK) } catch (e: Exception) { return@get call.respond(HttpStatusCode.InternalServerError) // here } }
Rustam Siniukov
StatusPages
A modern programming language that makes developers happier.