Glossary: Kotlin Beyond the Basics
BadRequestException
The exception Ktor's `call.receive` throws when a request body isn't valid for the expected class. Catch it and answer 400 Bad Request.
Glossary: Kotlin Beyond the Basics
The exception Ktor's `call.receive` throws when a request body isn't valid for the expected class. Catch it and answer 400 Bad Request.