Home | Trees | Indices | Help |
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | ResourceError --+ | RequestFailed
Exception raised when an unexpected HTTP error is received in response to a request.
The request failed, meaning the remote HTTP server returned a code other than success, unauthorized, or NotFound.
The exception message attempts to extract the error
You can get the status code by e.status_int, or see anything about the response via e.response. For example, the entire result body (which is probably an HTML error page) is e.response.body.
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from Inherited from Inherited from |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Feb 9 17:17:56 2013 | http://epydoc.sourceforge.net |