Uses of Class
com.unosquare.carmigo.exception.ErrorResponse
-
Uses of ErrorResponse in com.unosquare.carmigo.exception
Modifier and TypeMethodDescriptionstatic org.springframework.http.ResponseEntity<ErrorResponse>
ExceptionBuilder.buildErrorResponseRepresentation
(org.springframework.http.HttpStatus httpStatus, String message) Builds an error response.org.springframework.http.ResponseEntity<ErrorResponse>
ExceptionResponseHandler.handleBadRequestException
(Exception exception) org.springframework.http.ResponseEntity<ErrorResponse>
ExceptionResponseHandler.handleBeanValidationException
(org.springframework.web.bind.MethodArgumentNotValidException methodArgumentNotValidException) Handles exception thrown byValid
in controllers which parses error messages.org.springframework.http.ResponseEntity<ErrorResponse>
ExceptionResponseHandler.handleConflictException
(Exception exception) org.springframework.http.ResponseEntity<ErrorResponse>
ExceptionResponseHandler.handleForbiddenException
(Exception exception) org.springframework.http.ResponseEntity<ErrorResponse>
ExceptionResponseHandler.handleNotFoundException
(Exception exception)