code: function errorsAllIds(state = [], { meta, type }) {
    switch (type) {
      case LISTENER_ERROR:
      case ERROR:
        if (state.indexOf(getQueryName(meta)) !== -1) {
          return state;
        }
        return [...state, getQueryName(meta)];
      case CLEAR_ERRORS:
        return [];
      case CLEAR_ERROR:
        return state.filter(lId => lId !== getQueryName(meta));
      default:
        return state;
    }
  }
docs: Reducer for errors state. Changed by `ERROR`
  and `CLEAR_ERRORS` actions.
  @param  {Object} [state=[]] - Current authError redux state
  @param  {Object} action - Object containing the action that was dispatched
  @param  {String} action.type - Type of action that was dispatched
  @return {Object} Profile state after reduction