Package Bio :: Package EUtils :: Module Datatypes :: Class EUtilsSearchError
[hide private]
[frames] | no frames]

Class EUtilsSearchError

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
                     EUtilsError --+
                                   |
                                  EUtilsSearchError

Used when the ESearch XML says there is an ERROR

The main error is in err.errmsg but more information may be available in err.errors or err.warnings. Eg, the error message is often "Can't run executor" but you can get more information from the list of errors.

Instance Methods [hide private]
 
__init__(self, errmsg, errors=None, warnings=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, errmsg, errors=None, warnings=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)