code: function newError (state, action) {
    const { error } = action;
  
    return Object.assign({}, state, {
      visible: true,
      message: error.message,
      error
    });
  }
docs: You should have received a copy of the GNU General Public License along with Parity.  If not, see <http://www.gnu.org/licenses/>.