Add error parameter to action in case of error
Add error parameter to action in case of error

It may be nice that the middleware adds "error: true" to the action in case of error. See https://github.com/acdlite/flux-standard-action
pburtchaell/redux-promise-middleware