redux-catch
JSON →Error catcher middleware for Redux that intercepts errors thrown in reducers and synchronous middlewares. Version 1.3.1 is the latest stable release, with infrequent updates. It allows you to provide a custom error handler function that receives the error, current state via getState, the last dispatched action, and a dispatch function. Unlike Redux's built-in error handling, redux-catch supports logging, reporting to services like Sentry, and optionally dispatching actions on errors. It should be placed as the first middleware in the chain. Comes as ES module (no Babel build, uses arrow functions).
Traffic · last 30 days ↓8% vs prev 7d
total hits 31
actors 9 distinct systems
last hit 17h ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇨🇦 Canada · 🇫🇷 France
API endpoints
full doc /v1/registry/redux-catch
install /v1/registry/redux-catch/install
compatibility /v1/registry/redux-catch/compatibility