forked from luciferous/jwt
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add Exception codes #455
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not an issue, but it is more of an enhancement.
I would like to be able to translate the exception messages, and currently, there is not an easy way to do that.
In order to do that, I believe adding an error code for each exception, will allow me to determine what exception is thrown and translate the error messages.
Also, having a different error code for each exception will allow developers to easily determine where the exception is thrown.
For example, there is the
Algorithm not supported
string, that is thrown from 4 places.The text was updated successfully, but these errors were encountered: