Replies: 1 comment 5 replies
-
|
Hey @Lao-Ax - I'll try to take a look at this soon. In the meantime, any chance you could post a CodeSandbox of what you're trying to do? It would help me answer you more thoroughly. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to catch an error on top store level?
Imagine, I have a
ModelB has an action \ flow which fail with error.
So, I want to track back this error on rootStore level. Kinda 'Unknow error'. ModelB is able to handle some of errors, but all others - throw it up!
I've tried to use middleware (or rootStore level):
And I get the error. But I get it twice or more. I suppose it depends on action's store sub-level.
Please, help me comprehend what I'm doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions