Source code for pytablewriter.error

"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""


class NotSupportedError(Exception):
    pass


[docs] class EmptyTableNameError(Exception): """ Exception raised when a table writer class of the |table_name| attribute is null and the class is not accepted null |table_name|. """
[docs] class EmptyValueError(Exception): """ Exception raised when a table writer class of the |value_matrix| attribute is null, and the class is not accepted null |value_matrix|. """
[docs] class EmptyTableDataError(Exception): """ Exception raised when a table writer class of the |headers| and |value_matrix| attributes are null. """
[docs] class WriterNotFoundError(Exception): """ Exception raised when appropriate loader writer found. """