-
Notifications
You must be signed in to change notification settings - Fork 1
[Refactor] 유효하지 않은 리프레쉬 토큰 예외 처리 #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| super(baseErrorCode); | ||
| public DuplicateResourceException(ErrorStatus errorStatus) { | ||
| super(errorStatus); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BaseErrorCode 추상화 로직 다 ErrorStatus로 바꿨던데 이유가 뭔가요?
지금 구현이면 BaseErrorCode 삭제해도 될 것 같습니다.
| } catch (JwtException e) { | ||
| // 유효하지 않은 리프레시 토큰 | ||
| throw new GeneralException(ErrorStatus.TOKEN_INVALID); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제가 구현하여 사용한 InvalidRefreshTokenException을 GeneralException으로 수정하신 이유가 뭔가요?
c734f1d to
1f1a1e6
Compare
1f1a1e6 to
82f9544
Compare
#️⃣연관된 이슈
📝작업 내용