ErrorHandlerclass, so if an action throws an error, Angular's
ErrorHandleris called. You can easily override this flow by providing your own handler like so:
state.count.number.value). Given the following code:
ErrorHandler, nor the
dispatchObservable. This applies to both sync and async types of Actions.
ErrorHandlerand you can also catch it subscribing to the
dispatchObservable. If you subscribe to the
dispatchObservable the error will be caught twice, once in the ErrorHandler and on your
@Actionand update state to reflect the error, which you can later select to display where required.