title: useQuery error object returns empty array for graphQLErrors property
body: <p>I have a MERN application that uses react hooks and <code>@apollo/react-hooks</code> to perform mutations and make queries. The app works as intended, but now I am trying to work on my application's error handling code. I have this query</p>
  
  <pre><code>export const getStacks = gql`
  query {
      stacks{
          title,
          notecards {
              question,
              answer
          },
          id
      }
  }
  `;
  </code></pre>
  
  <p>which I am purposefully breaking by changing it to this</p>
  
  <pre><code>export const getStacks = gql`
  query {
      storks{
          tile,
          notecards {
              question,
              answer
          },
          id
      }
  }
  `;
  </code></pre>
  
  <p>When I do this and try to access <code>stacksError</code> from</p>
  
  <p><code>const { loading: isGetStacksLoading, error: stacksError, data: stacksData } = useQuery(getStacks);</code></p>
  
  <p>I get the server error inside <code>stacksError</code> and there is no <code>graphQLErrors</code></p>
  
  <p>Meaning when I console log <code>stacksError</code> I see this in the console</p>
  
  <pre><code>Error: Network error: Response not successful: Received status code 400
  </code></pre>
  
  <p>In my App.js file I am using <code>createHttpLink</code> with <code>ApolloClient</code> and <code>ApolloProvider</code></p>
  
  <p>Does anyone know why <code>stacksError</code> is returning the server error and does not have <code>graphQLErrors</code> property that would show me that my query is incorrect?</p>
  
  <p>P.S.</p>
  
  <p>I've added <code>apollo-link-error</code> to my App.js and when it's called I am able to deconstruct the error object and log what is in the <code>graphQLErrors</code> prop as well as the <code>networkError</code> prop and in the console I see, respectively:</p>
  
  <p><code>[GraphQL error]: Message: Cannot query field "storks" on type "RootQueryType". Did you mean "stacks" or "stack"?, Location: [object Object], Path: undefined</code></p>
  
  <p>and</p>
  
  <p><code>[Network Error]: ServerError: Response not successful: Received status code 400</code></p>
  
  <p>which confuses me even more because it shows that there IS as grapQLErrors property but the contents aren't accessible in my component</p>
  
  <p>Oh! I am also using react-router for my app, maybe I have to pass something or like "connect" my component like you would with redux? idk </p>