Package cssutils :: Module errorhandler :: Class ErrorHandler |
[hide private]
[frames] | no frames]

# Class ErrorHandler

source code

       object --+
                |
    _ErrorHandler --+
                    |
                   ErrorHandler

Singleton, see _ErrorHandler

Instance Methods | [hide private]
__init__(self, log=None, defaultloglevel=20, raiseExceptions=True) inits log if none given | source code
Inherited from `_ErrorHandler`: `__getattr__`, `setlog`, `setloglevel` Inherited from `_ErrorHandler` (private): `_ErrorHandler__handle` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]
| instance = `None`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, log=None, defaultloglevel=20, raiseExceptions=True) (Constructor) | source code
inits log if none given log for parse messages, default logs to sys.stderr defaultloglevel if none give this is logging.DEBUG raiseExceptions True: Errors will be reported to the calling app, e.g. during building False: Errors will be written to the log, this is the default behaviour when parsing Overrides: object.__init__ (inherited documentation)