From 0d9fa4c19449a48a808dd5dbb7f0807f6fdb2a59 Mon Sep 17 00:00:00 2001 From: latent-9 <296084221+latent-9@users.noreply.github.com> Date: Sun, 9 Aug 2026 23:40:51 +1200 Subject: [PATCH] Fix 'occured' typo in error descriptions --- Sources/CoreStoreError.swift | 4 ++-- Sources/DataStack+Migration.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/CoreStoreError.swift b/Sources/CoreStoreError.swift index a7f9a804..b2433b7f 100644 --- a/Sources/CoreStoreError.swift +++ b/Sources/CoreStoreError.swift @@ -35,7 +35,7 @@ import CoreData public enum CoreStoreError: Error, CustomNSError, Hashable { /** - A failure occured because of an unknown error. + A failure occurred because of an unknown error. */ case unknown @@ -296,7 +296,7 @@ public let CoreStoreErrorDomain = "com.corestore.error" public enum CoreStoreErrorCode: Int { /** - A failure occured because of an unknown error. + A failure occurred because of an unknown error. */ case unknownError diff --git a/Sources/DataStack+Migration.swift b/Sources/DataStack+Migration.swift index 8f94f902..53bcc835 100644 --- a/Sources/DataStack+Migration.swift +++ b/Sources/DataStack+Migration.swift @@ -106,7 +106,7 @@ extension DataStack { ``` - parameter storage: the local storage - parameter completion: the closure to be executed on the main queue when the process completes, either due to success or failure. The closure's `SetupResult` argument indicates the result. Note that the `LocalStorage` associated to the `SetupResult.success` may not always be the same instance as the parameter argument if a previous `LocalStorage` was already added at the same URL and with the same configuration. - - returns: a `Progress` instance if a migration has started, or `nil` if either no migrations are required or if a failure occured. + - returns: a `Progress` instance if a migration has started, or `nil` if either no migrations are required or if a failure occurred. */ public func addStorage( _ storage: T,