pology.synder.SynderError

Package pology :: Module synder :: Class SynderError |

# Class SynderError

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

Instance Methods
__init__(self, message, code, source=None, pos=None) Constructor. |
__unicode__(self) |
Inherited from `PologyError`: `__str__` 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, message, code, source=None, pos=None) (Constructor) |
Constructor. All the parameters are made available as instance variables. Parameters: `message` (string) - description of what went wrong `code` (int) - numerical ID of the problem `source` (string) - name of the source in which the problem occured `pos` (int or (int, int)) - line or line and column in the source in which the problem occured Overrides: object.__init__

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