title: Axios post request get body from catch?
body: <p>I have post request with api:</p>
  
  <pre><code>axios.post('https://api.myapp.com:8000', formData).then(function (response) {
  }).catch(function (error) {
      console.log(error)
  })
  </code></pre>
  
  <p>I get here response with "xhr" type. In console I see only: </p>
  
  <pre><code>Error: Request failed with status code 422
      at createError (createError.js?2d83:16)
      at settle (settle.js?467f:18)
      at XMLHttpRequest.handleLoad (xhr.js?b50d:77)
  </code></pre>
  
  <p>I want to do something like <code>error.data</code> the push content into my alert bar.</p>
  
  <p>What I tried is:
  <code>error.responseType, error.response, error.responseBody, error.status</code>, for every of this calls I get simple undefined. Under network in console I see the content like needed.</p>
  
  <p>How can I get content from such response?</p>