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

Class MaxRedirectError

source code

              object --+                    
                       |                    
exceptions.BaseException --+                
                           |                
        exceptions.Exception --+            
                               |            
           httplib.HTTPException --+        
                                   |        
                       HttxException --+    
                                       |    
                           RedirectError --+
                                           |
                                          MaxRedirectError

A class representing an error because the configure maxiumum number of redirections has been reached

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__