Skip to content
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

Return custom error type allowing to access error codes without string parsing #10

Open
rayrutjes opened this issue Nov 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rayrutjes
Copy link

Hey,

Currently, all error codes returned by the Auth API are returned as a JSON-encoded string part of an error message.

Like specified in the documentation, it would be great to be able to have access to error codes and have some helpers allowing to quickly check for example if the login failed because the user hasn't yet confirmed their email.

Is there a specific reason not to have this implemented?

@rayrutjes rayrutjes added the enhancement New feature or request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant