-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
How can I trigger errorType in a generalized way? #734
Comments
Did you find a solution to this? |
@jmyrland Nope. As a workaround, I found the way it used to be done before and re-introduced it using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to manage the loading state of request fired inside thunks based on the thunks startType, successType and failType actions. I have listeners in place on each thunk based on a naming convention. My issue right now is that thunks do not fire the failType action when a promise is rejected. I could not find a store configuration parameter to enable this or a general way to handle this without touching each thunk since from what I've seen the fail function comes from the helpers param.
This is my current approach to handle the loading and errors
The text was updated successfully, but these errors were encountered: