By default, the library has an ExceptionHandler that will automatically create a status code and a response body based on the exception thrown.

Also other exception (in addition to those in this file) from kotlin-utils are considered as status-override:

You can choose your favourite body type: