<reponame>sundarsrst/pytablewriter<filename>pytablewriter/error.py
# encoding: utf-8

"""
.. codeauthor:: <NAME> <<EMAIL>>
"""

from __future__ import absolute_import


class NotSupportedError(Exception):
    pass


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|.
    """


class EmptyHeaderError(Exception):
    """
    Exception raised when a table writer class of the |headers| attribute
    is null, and the class is not accepted null |headers|.
    """


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|.
    """


class EmptyTableDataError(Exception):
    """
    Exception raised when a table writer class of the |headers| and
    |value_matrix| attributes are null.
    """


class WriterNotFoundError(Exception):
    """
    Exception raised when appropriate loader writer found.
    """

# encoding: utf-8

"""
.. codeauthor:: <NAME> <<EMAIL>>
"""

from __future__ import absolute_import


class NotSupportedError(Exception):
    pass


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|.
    """


class EmptyHeaderError(Exception):
    """
    Exception raised when a table writer class of the |headers| attribute
    is null, and the class is not accepted null |headers|.
    """


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|.
    """


class EmptyTableDataError(Exception):
    """
    Exception raised when a table writer class of the |headers| and
    |value_matrix| attributes are null.
    """


class WriterNotFoundError(Exception):
    """
    Exception raised when appropriate loader writer found.
    """
# encoding: utf-8 .. codeauthor:: <NAME> <<EMAIL>> Exception raised when a table writer class of the |table_name| attribute     is null and the class is not accepted null |table_name|. Exception raised when a table writer class of the |headers| attribute     is null, and the class is not accepted null |headers|. Exception raised when a table writer class of the |value_matrix| attribute     is null, and the class is not accepted null |value_matrix|. Exception raised when a table writer class of the |headers| and     |value_matrix| attributes are null. Exception raised when appropriate loader writer found.