Mercurial > fife-parpg
view engine/extensions/pychan/exceptions.py @ 164:5b04a7d3ded6
typo fix
some missing event (de)registrations
ability to capture one event multiple times (instead of only having one slot, we have groups and each group has an own slot, the default group is "default" so we are backward compatible
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 15 Oct 2008 14:57:04 +0000 |
parents | 31718fa356f8 |
children | 54bfd1015b35 |
line wrap: on
line source
# coding: utf-8 class PyChanException(Exception): """ Base exception class for PyChan. All exceptions raised by PyChan derive from this. """ pass class InitializationError(PyChanException): """ Exception raised during the initialization. """ pass class RuntimeError(PyChanException): """ Exception raised during the run time - for example caused by a missing name attribute in a XML file. """ pass class GuiXMLError(PyChanException): """ An error that occured during parsing an XML file. """ class ParserError(PyChanException): """ An error that occured during parsing an attribute. """ class PrivateFunctionalityError(RuntimeError): """ Exception raised if private attributes/functions are used." """ pass