title: urllib3 how to find code and message of Http error
body: <p>I am catching http errors using python, but I want to know the code of the error (e.g. 400, 403,..). Additionally I want to get the message of the error. However, I can't find those two attributes in the documentation. Can anyone help? Thank you.</p>
  
  <pre><code>    try:
          """some code here"""
      except urllib3.exceptions.HTTPError as error:
          """code based on error message and code"""
  </code></pre>