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.http_code, 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 Tue Sep 14 20:59:26 2010 | http://epydoc.sourceforge.net |