Skip to content

전역 예외 처리 - #7

Merged
phdcoco merged 2 commits into
devfrom
feature/global-exception-handler
Aug 4, 2026
Merged

전역 예외 처리#7
phdcoco merged 2 commits into
devfrom
feature/global-exception-handler

Conversation

@phdcoco

@phdcoco phdcoco commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

에러 응답 형식 통일 및 내부 정보 노출을 차단함.

  • 모든 에러 응답을 error: code, message 형식으로 통일 -> ErrorResponse
  • GlobalExceptionHandler에서 @ RestControllerAdvice 추가
  • 400: @ Valid 검증 실패, 깨진 JSON, 필수 파라미터 누락
  • 404 / 405: 없는 경로, 미지원 메서드
  • 500: 예상 못 한 예외는 INTERNAL_ERROR 고정 메시지

@phdcoco
phdcoco merged commit 15c0362 into dev Aug 4, 2026
@phdcoco
phdcoco deleted the feature/global-exception-handler branch August 4, 2026 06:38
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.

1 participant