mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-09 05:25:42 +00:00
core: add error strings to SQLCipher encrypt/decrypt commands (#1014)
This commit is contained in:
@@ -434,8 +434,8 @@ instance ToJSON ChatErrorType where
|
||||
data DatabaseError
|
||||
= DBENotEncrypted
|
||||
| DBENoFile
|
||||
| DBEExportFailed
|
||||
| DBEOpenFailed
|
||||
| DBEExportFailed {databaseError :: String}
|
||||
| DBEOpenFailed {databaseError :: String}
|
||||
deriving (Show, Exception, Generic)
|
||||
|
||||
instance ToJSON DatabaseError where
|
||||
|
||||
Reference in New Issue
Block a user