Package pology :: Class PologyError

Class PologyError

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              PologyError
Known Subclasses:

Base exception class for errors in Pology.

Instance Methods
 
__init__(self, msg)
Constructor.
 
__unicode__(self)
 
__str__(self)
str(x)

Inherited from exceptions.Exception: __new__

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

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

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, msg)
(Constructor)

 

Constructor.

Parameters:
  • msg (string) - a description of what went wrong
Overrides: object.__init__

__unicode__(self)

 
Overrides: exceptions.BaseException.__unicode__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)