에러 상태코드 중복 처리을 어떻게 처리할까? #85
asebn1
started this conversation in
[BE] 컨벤션 이슈
Replies: 1 comment
-
@ExceptionHandler({DuplicateMemberEmailException.class})
public ResponseEntity<ErrorResponse> duplicateMemberRequest(final DuplicateMemberEmailException e) {
return ResponseEntity.status(e.getHttpStatus()).body(new ErrorResponse(e.getMessage()));
} 로 해결했습니다! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
어떻게 해결하는 것이 좋을까요?
Beta Was this translation helpful? Give feedback.
All reactions