I have an async ngxs action that throwsError()
.
I would like the default error handling mechanism to ignore this thrown error because I will be handling it in my code via ofActionErrored()
. However, for other actions, default error handling should still take place.
Right now, both the ofActionErrored()
and default error handling (via Angular/Ionic) tries to deal with the error.
The alternative I can think of is to dispatch Xxx_SUCCESS and Xxx_ERROR actions from within the initially dispatched action, something I would like to avoid if i can help it.
Advice appreciated.