Conversation
boiledeggg
approved these changes
Jun 18, 2025
Comment on lines
84
to
+87
| private const val CODE_TOKEN_EXPIRED = 401 | ||
| private const val TOKEN_EXPIRED_ERROR = "토큰이 만료되었어요\n다시 로그인 해주세요" | ||
| private const val CODE_MANY_REQUESTS = 429 | ||
| private const val MESSAGE_TOKEN_EXPIRED = "토큰이 만료되었어요\n다시 로그인 해주세요" | ||
| private const val MESSAGE_TOO_MANY_REQUESTS = "요청 횟수가 너무 많아요\n로그인 후 다시 시도해 주세요" |
Member
There was a problem hiding this comment.
나중에 enum으로 관리하도록 수정하면 좋을 것 같아요!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
⛳️ Work Description
제가 이번에 429 상태 코드 대응을 하면서 인터셉터에서 토스트를 띄운 후, 로그인을 다시 유도하는 로직을 작성했는데요!
이렇게 생각하게 된 이유는 다음과 같습니다.
📢 To Reviewers
리팩토링 작업마일스톤 생성했어요!