Package httxlib :: Module httxerror :: Class RedirectError
[hide private]
[frames] | no frames]

Class RedirectError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
           httplib.HTTPException --+    
                                   |    
                       HttxException --+
                                       |
                                      RedirectError
Known Subclasses:

A class representing a redirection error (like missing location header, not allowed in a POST request and others)

Instance Methods [hide private]
 
__init__(self, response, *args)
Constructor.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Instance Variables [hide private]

Inherited from HttxException: response

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, response, *args)
(Constructor)

source code 

Constructor. Delegates construction to the base class HttxException

Parameters:
  • response (HttxResponse) - response that has triggered the exception
  • args (tuple) - list of arguments
Overrides: object.__init__