module sql.database_exception
¶
Short summary¶
module pyensae.sql.database_exception
defines logged exceptions for SQL requests
Classes¶
class |
truncated documentation |
---|---|
custom exception |
|
exception related to SQL instructions and only them |
Methods¶
method |
truncated documentation |
---|---|
Documentation¶
defines logged exceptions for SQL requests
- exception pyensae.sql.database_exception.ExceptionSQL(description, ex, sql, log=True)¶
Bases:
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).