ServerErrorController
Default built-in controller which handles 500 Internal Server Error
events.
Functions
Link copied to clipboard
@Get(value = "/error/internal", produces = ["text/html"] )
@Error(status = HttpStatus.INTERNAL_SERVER_ERROR, global = true)
Link copied to clipboard
Responds to a client with an HTML response, using specified block to build an HTML page via Kotlin's HTML DSL.