5.4. Errors

exception simplesqlite.DatabaseError[source]

Bases: DatabaseError

Exception raised for errors that are related to the database.

exception simplesqlite.NullDatabaseConnectionError[source]

Bases: DatabaseError

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

exception simplesqlite.TableNotFoundError[source]

Bases: DatabaseError

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

exception simplesqlite.AttributeNotFoundError[source]

Bases: 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: Any, **kwargs: Any)[source]

Bases: OperationalError

Exception raised when failed to execute a query.