mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-20 07:31:32 +01:00
Support typed errors. Misc formatting
This commit is contained in:
1 parent
c9e091a6a4
commit
5dcf29011a
74 files changed
+3987
-1441
No files matched your search
@@ -77,8 +77,8 @@ extension Internals {
|
||||
}
|
||||
|
||||
@nonobjc
|
||||
internal func performFetchFromSpecifiedStores() throws {
|
||||
|
||||
internal func performFetchFromSpecifiedStores() throws(any Swift.Error) {
|
||||
|
||||
try self.reapplyAffectedStores(self.typedFetchRequest, self.managedObjectContext)
|
||||
try self.performFetch()
|
||||
|
||||
@@ -103,6 +103,9 @@ extension Internals {
|
||||
// MARK: Private
|
||||
|
||||
@nonobjc
|
||||
private let reapplyAffectedStores: (_ fetchRequest: Internals.CoreStoreFetchRequest<NSManagedObject>, _ context: NSManagedObjectContext) throws -> Void
|
||||
private let reapplyAffectedStores: (
|
||||
_ fetchRequest: Internals.CoreStoreFetchRequest<NSManagedObject>,
|
||||
_ context: NSManagedObjectContext
|
||||
) throws(any Swift.Error) -> Void
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user