Uses of Record Class
com.bluebell.greenhouse.platform.models.api.error.ApiError
Packages that use ApiError
Package
Description
Contains controller advice classes.
-
Uses of ApiError in com.bluebell.greenhouse.planter.controllers.advice
Methods in com.bluebell.greenhouse.planter.controllers.advice that return types with arguments of type ApiErrorModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleBadRequest(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles bad requests.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleConflict(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles conflicts.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleConstraintViolation(jakarta.validation.ConstraintViolationException exception, jakarta.servlet.http.HttpServletRequest request) Method that handles bean validation failures outside request-body binding.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleForbidden(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles forbidden errors.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleMethodArgumentNotValid(org.springframework.web.bind.MethodArgumentNotValidException exception, jakarta.servlet.http.HttpServletRequest request) Method that handles invalid request bodies.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleNotFound(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles not found errors.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleServerError(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles server-side errors.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleServiceUnavailable(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles services unavailable.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleUnauthorized(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles unauthorized errors.org.springframework.http.ResponseEntity<ApiError> GlobalExceptionHandler.handleUnhandled(Exception exception, jakarta.servlet.http.HttpServletRequest request) Method that handles all other errors.