pology.PologyError

Package pology :: Class PologyError |

# Class PologyError

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                                  PologyError

Known Subclasses:
  - sieve.SieveError
  - , catalog.CatalogSyntaxError
  - , synder.SynderError
  - , timeout.TimedOutException
  - , subcmd.SubcmdError

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__` 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__

### __str__(self) (Informal representation operator) |
str(x) Overrides: object.__str__ (inherited documentation)

### __unicode__(self) |
Overrides: exceptions.BaseException.__unicode__