Skip to content

✨ Feat: GlobalExceptionHandler 구현#6

Merged
Bumnote merged 2 commits intodevfrom
feat/global-exception-handler
Mar 12, 2025
Merged

✨ Feat: GlobalExceptionHandler 구현#6
Bumnote merged 2 commits intodevfrom
feat/global-exception-handler

Conversation

@Bumnote
Copy link
Copy Markdown
Member

@Bumnote Bumnote commented Mar 12, 2025

#️⃣ 연관된 이슈

#5

📝 작업 내용

  • api 응답 Response DTO를 구현합니다.
  • 글로벌 예외 처리를 위한 DTO를 구현합니다.
  • 예외가 발생할 상황에 대한 예외 코드들을 커스텀하여 enum 객체로 구현합니다.
  • 예외 처리를 RestController 전역으로 관리하기 위한 Handler를 구현합니다.

💬 리뷰 요구사항

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요


Bumnote added 2 commits March 13, 2025 02:05
- RestController 전역으로 관리하기 위한 GlobalExceptionHandler 클래스를 구현합니다.
- 예외 처리를 함에 있어서 예외 코드들을 커스텀하기 위해 enum 클래스를 활용해 구현합니다.
- API 호출 성공 Response, 예외 발생 Response 응답 객체인 ApiResponse 클래스를 구현합니다.
issue #5
- API 호출 성공 시, 응답 객체가 잘 생성되는지 테스트합니다.
- 예외가 발생했을 때, 응답 객체가 잘 생성되는지 테스트합니다.
issue #5
@Bumnote Bumnote requested a review from kyubumjang March 12, 2025 17:12
@Bumnote Bumnote self-assigned this Mar 12, 2025
@Bumnote Bumnote linked an issue Mar 12, 2025 that may be closed by this pull request
3 tasks
@Bumnote Bumnote merged commit 47a16c7 into dev Mar 12, 2025
@Bumnote Bumnote changed the title ✨ [Feat] GlobalExceptionHandler 구현 ✨ Feat: GlobalExceptionHandler 구현 Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] Global Exception Handler 구현

1 participant