-
Notifications
You must be signed in to change notification settings - Fork 110
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature: Constants for error Types #149
Labels
enhancement
New feature or request
Comments
Hi - thank you for opening this |
This is a really good idea. We'll be working on implementing this across all of our SDKs. Thank you for the suggestion @santigarcor! |
Is there anything I can do to help? |
Not sure yet, but if there will be we'll keep updates in this issue 馃憤 |
19 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃敄 Feature description
For the error types exposed here we should have a class with constants or an enum so we don't have to manually put the string in the code.
馃帳 Pitch
Let say I want to display some error message specifically to the user depending on the type, so instead of doing this:
I could use the constant instead
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: