title: how to handle 500 error message with axios
body: <p>I cannot get the response text in the <code>500 error</code> with axios.</p>
  
  <p>in Network tab in dev tools i can find the error message like this</p>
  
  <pre><code>{"Message":"500 error message 0","Code":0,"Type":"error"}
  </code></pre>
  
  <p>and I use </p>
  
  <pre><code>axios()
  .then(function(done) {
     //fine and can get done.data
  })
  .catch(function(error) {
      console.log(error.message);
  }); 
  </code></pre>
  
  <p>but I can only get</p>
  
  <pre><code>Request failed with status code 500
  </code></pre>
  
  <p>so how can I get the response text with axios</p>