Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✅ 과제 구현 명세
UnauthorizedException을 정의하여 유효하지 않은 토큰이라는 Response를 반환했습니다.
😊 이런 점이 새로웠어요 / 어려웠어요
Spring 예외 처리 과정을 더 자세히 정리할 수 있었습니다!
가장 구체적인 예외 핸들러를 먼저 찾고 -> 없으면 부모 예외의 핸들러를 찾는다
ExceptionHandlerExceptionResolver 동작
모든 controller에서 공통적으로 사용하는 파라미터는 어노테이션을 직접 만들어서 사용할 수 있다는 점이 새로웠습니다.