-
Notifications
You must be signed in to change notification settings - Fork 151
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
Feat: Displaying Error Message from Backend in Toast Notification #182
Comments
@VanshKing30 Please assign this issue to me under GSSOC'24 |
@VanshKing30 @Saksham2k3s please assign me this task under GSSOC 2024. I am confident that I can fix this task |
This will expose major backend errors. You have to check if any unsuccessful call doesn't leak any type of backend data! |
Can you please assign this to me. |
How are you going to proceed? |
I will use a toast notification library like "react-toastify" or any other you are using to display the error message. |
This will expose major backend errors. You have to check if any unsuccessful call doesn't leak any type of backend data! |
1.We handle different types of HTTP error status codes separately. |
Give time to @Saksham2k3s . If he wont then I will assign this to you |
Hello @Saksham2k3s! Your issue #182 has been closed. Thank you for your contribution! |
Describe the feature
Currently, the application makes an API call using Axios to create an account. On a successful response, a success toast message is shown, and the user is navigated to the home page. However, when an error occurs, a hard-coded error message (Failed To create account) is displayed in every case. I want to display the error message received from the backend in the toast notification instead of the hard-coded message.
Add ScreenShots
Record
The text was updated successfully, but these errors were encountered: