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

Custom Error message from server #180

Closed
iyobo opened this issue Dec 11, 2016 · 1 comment
Closed

Custom Error message from server #180

iyobo opened this issue Dec 11, 2016 · 1 comment

Comments

@iyobo
Copy link

iyobo commented Dec 11, 2016

Is there a way to feed in error messages from the server upon a failure instead of just "Internal Server Error"?

@fzaninotto
Copy link
Member

Error message notifications are a side effect, and as such, are handled by redux-saga in admin-on-rest. If you want to display custom notifications based on certain error messages, you need to write your own sagas. And for that, you'll need to bypass the <Admin> component and write a custom app, as described here: http://marmelab.com/admin-on-rest/CustomApp.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants