File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ public func ==(lhs: LibraryVersion, rhs: LibraryVersion) -> Bool {
4242}
4343
4444
45+ /// Error domain used for errors raised by this module.
46+ public let ErrorDomain = " AlgoliaSearch "
47+
48+
4549/// Entry point in the Swift API.
4650///
4751/// You should instantiate a Client object with your AppID, ApiKey and Hosts
@@ -50,7 +54,8 @@ public func ==(lhs: LibraryVersion, rhs: LibraryVersion) -> Bool {
5054 // MARK: Constants
5155
5256 /// Error domain used for errors raised by this module.
53- @objc public static let ErrorDomain = " Client.ErrorDomain "
57+ /// + NOTE: This shortcut is provided for Objective-C bridging. See the top-level `ErrorDomain` constant.
58+ @objc public static let ErrorDomain = AlgoliaSearch . ErrorDomain
5459
5560 // MARK: Properties
5661
You can’t perform that action at this time.
0 commit comments