handleCRUDError

@ExceptionHandler(value = [CRUDErrorException::class])
open fun handleCRUDError(cee: CRUDErrorException): ResponseEntity<CRUDError>(source)

Converts CRUDError in this exception into a ResponseEntity with correct status code, media type and body

Return

ResponseEntity built from CRUDError in this exception

Parameters