Deprecation of enum CoreStore, reorganize global symbols

This commit is contained in:
John Estropia committed 2019-08-29 17:03:09 +09:00
1 parent 02d5bf85ae
commit 266b1a9913
95 files changed
+2232 -1837

No files matched your search

+2 -2
View File
@@ -88,9 +88,9 @@ public final class InferredSchemaMappingProvider: Hashable, SchemaMappingProvide
catch {
let coreStoreError = CoreStoreError(error)
CoreStore.log(
Internals.log(
coreStoreError,
"\(cs_typeName(self)) failed to find migration mappings from version model \"\(sourceSchema.modelVersion)\" to \"\(destinationSchema.modelVersion)\" in the \(cs_typeName(storage)) at URL \"\(storage.fileURL)\". The local storage may be corrupt or the \(cs_typeName(storage)) initializer may be missing the correct \(cs_typeName(SchemaMappingProvider.self))"
"\(Internals.typeName(self)) failed to find migration mappings from version model \"\(sourceSchema.modelVersion)\" to \"\(destinationSchema.modelVersion)\" in the \(Internals.typeName(storage)) at URL \"\(storage.fileURL)\". The local storage may be corrupt or the \(Internals.typeName(storage)) initializer may be missing the correct \(Internals.typeName(SchemaMappingProvider.self))"
)
throw coreStoreError
}