1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# -*- coding: utf-8 -*-
"""
This module implements Error classes.
.. :copyright: (c) 2015 by Rene Beckmann.
:license: MIT, see License for more details.
"""
class PyLaTeXError(Exception):
"""A Base class for all PyLaTeX Exceptions."""
class CompilerError(PyLaTeXError):
"""A Base class for all PyLaTeX compiler related Exceptions."""
class TableError(PyLaTeXError):
"""A Base class for all errors concerning tables."""
class TableRowSizeError(TableError):
"""Error for wrong table row size."""
|