JiriChara/redux-blower

View on GitHub
src/errors/NoInitialStateGiven.js

Summary

Maintainability
A
0 mins
Test Coverage
export function NoInitialStateGiven(msg) {
  this.name = 'NoInitialStateGiven';
  this.message = msg || 'Reducer must have initial state.';
}
NoInitialStateGiven.prototype = Error.prototype;