├── .babelrc ├── .eslintrc ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── src ├── actions │ ├── api │ │ ├── api.js │ │ └── index.js │ └── throw-error │ │ ├── index.js │ │ └── throw-error.js ├── components │ ├── react-component-errors │ │ ├── index.js │ │ └── react-component-errors.js │ └── react-poop │ │ ├── index.js │ │ └── react-poop.js ├── constants │ └── action-types │ │ ├── action-types.js │ │ └── index.js ├── containers │ └── app │ │ ├── app.js │ │ └── index.js ├── index.js ├── reducers │ ├── root │ │ ├── index.js │ │ └── root.js │ └── throw-error │ │ ├── index.js │ │ └── throw-error.js ├── sagas │ ├── api │ │ ├── api.js │ │ └── index.js │ ├── error-handler │ │ ├── error-handler.js │ │ └── index.js │ ├── root │ │ ├── index.js │ │ └── root.js │ └── throw-error │ │ ├── index.js │ │ └── throw-error.js ├── store │ ├── configure-store.js │ └── index.js ├── templates │ └── index.ejs └── utils │ ├── bind-action-creators │ ├── bind-action-creators.js │ └── index.js │ ├── fetch │ ├── fetch.js │ └── index.js │ ├── httpbin │ ├── httpbin.js │ └── index.js │ ├── logger │ ├── index.js │ └── logger.js │ ├── map-state-to-props │ ├── index.js │ └── map-state-to-props.js │ ├── onerror │ ├── index.js │ └── onerror.js │ └── throwing-module │ ├── index.js │ └── throwing-module.js ├── test ├── actions │ ├── api │ │ └── api.spec.js │ └── throw-error │ │ └── throw-error.spec.js ├── components │ ├── react-component-errors │ │ └── react-component-errors.spec.js │ └── react-poop │ │ └── react-poop.spec.js ├── containers │ └── app │ │ └── app.spec.js ├── reducers │ └── throw-error │ │ └── throw-error.spec.js ├── sagas │ ├── api │ │ └── api.spec.js │ └── error-handler │ │ └── error-handler.spec.js └── utils │ ├── bind-action-creators │ └── bind-action-creators.spec.js │ └── map-state-to-props │ └── map-state-to-props.spec.js └── webpack ├── development.config.js └── production.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | node_modules 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/package.json -------------------------------------------------------------------------------- /src/actions/api/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/actions/api/api.js -------------------------------------------------------------------------------- /src/actions/api/index.js: -------------------------------------------------------------------------------- 1 | export * from './api' 2 | -------------------------------------------------------------------------------- /src/actions/throw-error/index.js: -------------------------------------------------------------------------------- 1 | export * from './throw-error' 2 | -------------------------------------------------------------------------------- /src/actions/throw-error/throw-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/actions/throw-error/throw-error.js -------------------------------------------------------------------------------- /src/components/react-component-errors/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './react-component-errors' 2 | 3 | -------------------------------------------------------------------------------- /src/components/react-component-errors/react-component-errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/components/react-component-errors/react-component-errors.js -------------------------------------------------------------------------------- /src/components/react-poop/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './react-poop' 2 | -------------------------------------------------------------------------------- /src/components/react-poop/react-poop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/components/react-poop/react-poop.js -------------------------------------------------------------------------------- /src/constants/action-types/action-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/constants/action-types/action-types.js -------------------------------------------------------------------------------- /src/constants/action-types/index.js: -------------------------------------------------------------------------------- 1 | export * from './action-types' 2 | -------------------------------------------------------------------------------- /src/containers/app/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/containers/app/app.js -------------------------------------------------------------------------------- /src/containers/app/index.js: -------------------------------------------------------------------------------- 1 | export { default, App } from './app' 2 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/index.js -------------------------------------------------------------------------------- /src/reducers/root/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './root' 2 | -------------------------------------------------------------------------------- /src/reducers/root/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/reducers/root/root.js -------------------------------------------------------------------------------- /src/reducers/throw-error/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/reducers/throw-error/index.js -------------------------------------------------------------------------------- /src/reducers/throw-error/throw-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/reducers/throw-error/throw-error.js -------------------------------------------------------------------------------- /src/sagas/api/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/sagas/api/api.js -------------------------------------------------------------------------------- /src/sagas/api/index.js: -------------------------------------------------------------------------------- 1 | export { default, httpbinGet } from './api' 2 | -------------------------------------------------------------------------------- /src/sagas/error-handler/error-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/sagas/error-handler/error-handler.js -------------------------------------------------------------------------------- /src/sagas/error-handler/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/sagas/error-handler/index.js -------------------------------------------------------------------------------- /src/sagas/root/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './root' 2 | -------------------------------------------------------------------------------- /src/sagas/root/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/sagas/root/root.js -------------------------------------------------------------------------------- /src/sagas/throw-error/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './throw-error' 2 | -------------------------------------------------------------------------------- /src/sagas/throw-error/throw-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/sagas/throw-error/throw-error.js -------------------------------------------------------------------------------- /src/store/configure-store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/store/configure-store.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/templates/index.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/templates/index.ejs -------------------------------------------------------------------------------- /src/utils/bind-action-creators/bind-action-creators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/bind-action-creators/bind-action-creators.js -------------------------------------------------------------------------------- /src/utils/bind-action-creators/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './bind-action-creators' 2 | -------------------------------------------------------------------------------- /src/utils/fetch/fetch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/fetch/fetch.js -------------------------------------------------------------------------------- /src/utils/fetch/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './fetch' 2 | -------------------------------------------------------------------------------- /src/utils/httpbin/httpbin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/httpbin/httpbin.js -------------------------------------------------------------------------------- /src/utils/httpbin/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './httpbin' 2 | -------------------------------------------------------------------------------- /src/utils/logger/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './logger' 2 | -------------------------------------------------------------------------------- /src/utils/logger/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/logger/logger.js -------------------------------------------------------------------------------- /src/utils/map-state-to-props/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './map-state-to-props' 2 | -------------------------------------------------------------------------------- /src/utils/map-state-to-props/map-state-to-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/map-state-to-props/map-state-to-props.js -------------------------------------------------------------------------------- /src/utils/onerror/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './onerror' 2 | -------------------------------------------------------------------------------- /src/utils/onerror/onerror.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/onerror/onerror.js -------------------------------------------------------------------------------- /src/utils/throwing-module/index.js: -------------------------------------------------------------------------------- 1 | export { default } from './throwing-module' 2 | -------------------------------------------------------------------------------- /src/utils/throwing-module/throwing-module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/src/utils/throwing-module/throwing-module.js -------------------------------------------------------------------------------- /test/actions/api/api.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/actions/api/api.spec.js -------------------------------------------------------------------------------- /test/actions/throw-error/throw-error.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/actions/throw-error/throw-error.spec.js -------------------------------------------------------------------------------- /test/components/react-component-errors/react-component-errors.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/components/react-component-errors/react-component-errors.spec.js -------------------------------------------------------------------------------- /test/components/react-poop/react-poop.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/components/react-poop/react-poop.spec.js -------------------------------------------------------------------------------- /test/containers/app/app.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/containers/app/app.spec.js -------------------------------------------------------------------------------- /test/reducers/throw-error/throw-error.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/reducers/throw-error/throw-error.spec.js -------------------------------------------------------------------------------- /test/sagas/api/api.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/sagas/api/api.spec.js -------------------------------------------------------------------------------- /test/sagas/error-handler/error-handler.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/sagas/error-handler/error-handler.spec.js -------------------------------------------------------------------------------- /test/utils/bind-action-creators/bind-action-creators.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/utils/bind-action-creators/bind-action-creators.spec.js -------------------------------------------------------------------------------- /test/utils/map-state-to-props/map-state-to-props.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/test/utils/map-state-to-props/map-state-to-props.spec.js -------------------------------------------------------------------------------- /webpack/development.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/webpack/development.config.js -------------------------------------------------------------------------------- /webpack/production.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicheleBertoli/proper-error-handling/HEAD/webpack/production.config.js --------------------------------------------------------------------------------