module sql.database_exception
¶
Classes¶
class |
truncated documentation |
---|---|
custom exception |
|
exception related to SQL instructions and only them |
Documentation¶
defines logged exceptions for SQL requests
-
exception
pyensae.sql.database_exception.
ExceptionSQL
(description, ex, sql, log=True)¶ Bases:
pyensae.sql.database_exception.DBException
exception related to SQL instructions and only them
- Parameters
description – message
ex – sqlite exception
sql – SQL instruction
log – log the exception
-
__init__
(description, ex, sql, log=True)¶ - Parameters
description – message
ex – sqlite exception
sql – SQL instruction
log – log the exception
-
__str__
()¶ Return str(self).