Package pology :: Class PologyError

type PologyError

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

Base exception class for errors in Pology.

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

Inherited from exceptions.Exception: __new__

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

Properties

Inherited from exceptions.BaseException: args, message

Method Details

__init__(self, msg)
(Constructor)

 

Constructor.

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

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: exceptions.BaseException.__str__
(inherited documentation)

__unicode__(self)

 
Overrides: exceptions.BaseException.__unicode__