5.4. Errors

exception simplesqlite.DatabaseError[source]

Bases: sqlite3.DatabaseError

Exception raised for errors that are related to the database.

exception simplesqlite.NullDatabaseConnectionError[source]

Bases: simplesqlite.error.DatabaseError

Exception raised when executing an operation of SimpleSQLite instance without connection to a SQLite database file.

exception simplesqlite.TableNotFoundError[source]

Bases: simplesqlite.error.DatabaseError

Exception raised when accessed the table that not exists in the database.

exception simplesqlite.AttributeNotFoundError[source]

Bases: simplesqlite.error.DatabaseError

Exception raised when accessed the attribute that not exists in the table.

exception simplesqlite.SqlSyntaxError[source]

Bases: Exception

Exception raised when a SQLite query syntax is invalid.

exception simplesqlite.OperationalError(*args, **kwargs)[source]

Bases: sqlite3.OperationalError

Exception raised when failed to execute a query.