Add SQLITE_CORRUPT to environmental SQL errors

This commit is contained in:
Florian Bruhin 2017-11-28 06:55:55 +01:00
parent 4fed8518e1
commit 73587b1e16

View File

@ -70,6 +70,7 @@ class SqliteError(SqlError):
environmental_errors = [
'5', # SQLITE_BUSY ("database is locked")
'8', # SQLITE_READONLY
'11', # SQLITE_CORRUPT
'13', # SQLITE_FULL
]
# At least in init(), we can get errors like this: