Uses of Record Class
nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
Packages that use ErrorResponse
-
Uses of ErrorResponse in nl.datasteel.crudcraft.runtime.controller
Methods in nl.datasteel.crudcraft.runtime.controller that return types with arguments of type ErrorResponseModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleBadRequest
(BadRequestException ex, jakarta.servlet.http.HttpServletRequest req) Handles BadRequestException and returns a 400 Bad Request response.org.springframework.http.ResponseEntity
<List<ErrorResponse>> CrudCraftExceptionHandler.handleBulk
(BulkOperationException ex, jakarta.servlet.http.HttpServletRequest req) Handles BulkOperationException and returns a 207 Multi-Status response with a list of errors.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleConflict
(RuntimeException ex, jakarta.servlet.http.HttpServletRequest req) Handles DuplicateResourceException and DataIntegrityException, returning a 409 Conflict response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleCrudCraftErrors
(CrudCraftRuntimeException ex, jakarta.servlet.http.HttpServletRequest req) Handles CrudCraftRuntimeException and returns a 500 Internal Server Error response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleEverythingElse
(Exception ex, jakarta.servlet.http.HttpServletRequest req) Handles any other unexpected exceptions and returns a 500 Internal Server Error response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleForbidden
(ForbiddenException ex, jakarta.servlet.http.HttpServletRequest req) Handles ForbiddenException and returns a 403 Forbidden response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleMethodNotAllowed
(OperationNotAllowedException ex, jakarta.servlet.http.HttpServletRequest req) Handles MethodNotAllowedException and returns a 405 Method Not Allowed response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleNotFound
(ResourceNotFoundException ex, jakarta.servlet.http.HttpServletRequest req) Handles ResourceNotFoundException and returns a 404 Not Found response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleNotImplemented
(NotImplementedException ex, jakarta.servlet.http.HttpServletRequest req) Handles NotImplementedException and returns a 501 Not Implemented response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handlePreconditionFailed
(PreconditionFailedException ex, jakarta.servlet.http.HttpServletRequest req) Handles PreconditionFailedException and returns a 412 Precondition Failed response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleTooManyRequests
(TooManyRequestsException ex, jakarta.servlet.http.HttpServletRequest req) Handles TooManyRequestsException and returns a 429 Too Many Requests response.org.springframework.http.ResponseEntity
<ErrorResponse> CrudCraftExceptionHandler.handleUnauthorized
(UnauthorizedException ex, jakarta.servlet.http.HttpServletRequest req) Handles UnauthorizedException and returns a 401 Unauthorized response.