enleur
07/17/2021, 3:31 PMval id = query["id"] ?: return@post call.respondBadRequest()
2. Using exceptions and StatusPage
val id = query["id"] ?: throw BadRequestException()
CLOVIS
07/17/2021, 7:19 PMval id = query["id"] ?: error("...")
but I have no idea how idiomatic it is.Aleksei Tirman [JB]
07/19/2021, 12:04 PM