mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-17 06:29:40 +02:00
added more migration error types
This commit is contained in:
@@ -294,7 +294,8 @@ public extension NSError {
|
|||||||
}
|
}
|
||||||
switch CocoaError.Code(rawValue: self.code) {
|
switch CocoaError.Code(rawValue: self.code) {
|
||||||
|
|
||||||
case CocoaError.Code.persistentStoreIncompatibleVersionHash,
|
case CocoaError.Code.persistentStoreIncompatibleSchema,
|
||||||
|
CocoaError.Code.persistentStoreIncompatibleVersionHash,
|
||||||
CocoaError.Code.migrationMissingSourceModel,
|
CocoaError.Code.migrationMissingSourceModel,
|
||||||
CocoaError.Code.migration:
|
CocoaError.Code.migration:
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user