sqlerror¶
sqlerror.foreign_key_violation_error¶
-
exception
lsserver.legacy.sqlbridge.
ForeignKeyViolationError
(message=None, query=None, caused_by_error=None) Bases:
lsserver.legacy.sqlbridge.SQLError
HTTP code: 400 Bad RequestLocalized Key: sqlerror.foreign_key_violation_errorExample: Foreign key constraint violated executing query ‘None’: None-
type
= 'sqlerror.foreign_key_violation_error'
-
localizable_message
= <LocalizableMessage key='sqlerror.foreign_key_violation_error' ...>
-
sqlerror.general_sql_error¶
-
exception
lsserver.legacy.sqlbridge.
SQLError
(message=None, query=None, caused_by_error=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.legacy.sqlbridge.BaseSQLError
HTTP code: 400 Bad RequestLocalized Key: sqlerror.general_sql_errorExample: Unabled to process query ‘None’: None-
type
= 'sqlerror.general_sql_error'
-
localizable_message
= <LocalizableMessage key='sqlerror.general_sql_error' ...>
-
sqlerror.illegal_control_character¶
-
exception
lsserver.legacy.sqlbridge.
IllegalControlCharacter
(character=None, caused_by_error=None) Bases:
lscore.errors.server_errors.ServerError
,lsserver.legacy.sqlbridge.BaseSQLError
HTTP code: 500 Internal Server ErrorLocalized Key: sqlerror.illegal_control_characterExample: ILLEGAL CONTROL CHARACTER IN STRING: None-
type
= 'sqlerror.illegal_control_character'
-
localizable_message
= <LocalizableMessage key='sqlerror.illegal_control_character' ...>
-
sqlerror.table_lock¶
-
exception
lsserver.legacy.sqlbridge.
TableLockError
(table, id, caused_by_error=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.legacy.sqlbridge.BaseSQLError
HTTP code: 403 ForbiddenLocalized Key: sqlerror.table_lockExample: Lock error: None:None; Lock Holder Info: None-
type
= 'sqlerror.table_lock'
-
localizable_message
= <LocalizableMessage key='sqlerror.table_lock' ...>
-