title: How to access the contents of an error response in Volley?
body: <p>Using any of these examples:
  <a href="http://developer.android.com/training/volley/request.html" rel="noreferrer">http://developer.android.com/training/volley/request.html</a></p>
  
  <p>I understand how to process the response of a succesful request, and how to detect and react to an error.</p>
  
  <p>However, an error may be (among other situations) a 40x or 50x response from the server, in which case the response can still contain data (headers and body).</p>
  
  <p>But the error listener is only passed a VolleyError object (which is a subclass of Exception if I'm not mistaken) and not a Response object.</p>
  
  <p>How do I access the content of an error response?</p>