Skip to content

Commit

Permalink
fix: 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BaeJinho4028 committed Sep 17, 2024
1 parent 5ba00a9 commit b138618
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
@RestControllerAdvice
public class GlobalExceptionHandler {

@ExceptionHandler(AuthIllegalArgumentException.class)
public ResponseEntity<ErrorResponse> handleAuthIllegalArgumentException(AuthIllegalArgumentException ex) {
return buildErrorResponse(1001, ex.getMessage(), HttpStatus.BAD_REQUEST);
}

@ExceptionHandler(UserAuthException.class)
public ResponseEntity<ErrorResponse> handleUserIllegalArgumentException(UserAuthException ex) {
return buildErrorResponse(1002, ex.getMessage(), HttpStatus.BAD_REQUEST);
Expand Down

0 comments on commit b138618

Please sign in to comment.