Skip to content

[BE-91] GlobalExceptionHandler에 Validation 예외 추가#50

Merged
Jaeyeop-Jung merged 1 commit intodevelopfrom
feature/BE-91
Dec 29, 2022
Merged

[BE-91] GlobalExceptionHandler에 Validation 예외 추가#50
Jaeyeop-Jung merged 1 commit intodevelopfrom
feature/BE-91

Conversation

@kdomo
Copy link
Copy Markdown
Member

@kdomo kdomo commented Dec 29, 2022

관련 이슈 번호

설명

Validation 실패 시 발생하는 MethodArgumentNotValidException를 GalobalExceptionHandler를 생성하여
전역에서 예외처리를 해주도록 하였습니다.

예외 처리 하여 Validation 예외 시 아래와 같이 응답됩니다.
image

변경사항

  • GlobalExceptionHandler 생성
  • MethodArgumentNotValidException 예외 처리

질문사항

@kdomo kdomo requested a review from Jaeyeop-Jung as a code owner December 29, 2022 06:55
@kdomo kdomo self-assigned this Dec 29, 2022
@kdomo kdomo requested a review from Pull-Stack as a code owner December 29, 2022 06:55
@Jaeyeop-Jung Jaeyeop-Jung merged commit 6fff616 into develop Dec 29, 2022
@Jaeyeop-Jung Jaeyeop-Jung deleted the feature/BE-91 branch December 29, 2022 07:00
@kdomo kdomo restored the feature/BE-91 branch January 1, 2023 14:59
@kdomo kdomo deleted the feature/BE-91 branch January 1, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants