docs: function errorsByQuery(state = {}, { meta, payload, type }) {
    switch (type) {
      case ERROR:
      case LISTENER_ERROR:
        return {
          ...state,
          [getQueryName(meta)]: payload,
        };
      case CLEAR_ERROR:
        return {
          ...state,
          [getQueryName(meta)]: null,
        };
      default:
        return state;
    }
  }