-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: update authentication error messages for better clarity #147
Conversation
πstorybook: https://65ccb85d5afe55a024495bc0-urjfmogfpc.chromatic.com/ |
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.
μκ³ λ§μΌμ ¨μ΅λλ€ !
message: error.message, | ||
message: 'μμ΄λ λλ λΉλ°λ²νΈκ° μΌμΉνμ§ μμ΅λλ€.', | ||
}; | ||
} else if (error instanceof BadRequestError) { |
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.
unauthorizederrorμ ν΄λΉ μλ¬λ μ΄λ€ μΌμ΄μ€μ μν΄ κ΅¬λΆλμ΄ λ°μνλμ?
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.
μ κ° ν μ€νΈν΄λ΄€μλ, μμ΄λκ° μ‘΄μ¬ν λ UnauthorizedErrorλ₯Ό λ°μμν€κ³ μμ΄λκ° μ‘΄μ¬νμ§ μμλ BadRequestErrorλ‘ λμ°λ€μ. UnauthorizedErrorμΌλλ BadRequestError μΌλ λλ€ μλ¬λ©μΈμ§λ₯Ό 'μμ΄λ λλ λΉλ°λ²νΈκ° μΌμΉνμ§ μμ΅λλ€.' λ‘ λμ°λ©΄ μ΄λ¨κΉμ??
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.
πstorybook: https://65ccb85d5afe55a024495bc0-hlckgxaxog.chromatic.com/ |
π μμ λ΄μ©