Source code for simplesqlite._error
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
[docs]class NullDatabaseConnectionError(Exception):
"""
Raised when executing an operation of
:py:class:`~simplesqlite.SimpleSQLite` instance without connection to
a SQLite database file.
"""
[docs]class TableNotFoundError(Exception):
"""
Raised when accessed the table that not exists in the database.
"""
[docs]class AttributeNotFoundError(Exception):
"""
Raised when accessed the attribute that not exists in the table.
"""