mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
26c7a5022a
Cleaned up the creation of the GRDBStorage instance Fixed an issue where the launch screen wasn't setting it's background colour based on the system setting Renamed the GRDBStorageError to StorageError (in preparation of legacy 'Storage' relocation) Consolidated the two Environment classes (in Swift) Refactored the AppSetup class to Swift
17 lines
343 B
Swift
17 lines
343 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public enum StorageError: Error {
|
|
case generic
|
|
case databaseInvalid
|
|
case migrationFailed
|
|
case invalidKeySpec
|
|
case decodingFailed
|
|
|
|
case failedToSave
|
|
case objectNotFound
|
|
case objectNotSaved
|
|
|
|
case invalidSearchPattern
|
|
}
|