-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check iOS 13 is available at runtime
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Sources/UID2GMAPlugin/OperatingSystemUnsupportedError.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// OperatingSystemUnsupportedError.swift | ||
// | ||
|
||
import Foundation | ||
|
||
/// Adapter called on an unsupported operating system version i.e. lower than UID2's deployment target. | ||
@objc(UID2GMAOperatingSystemUnsupported) | ||
public final class OperatingSystemUnsupportedError: NSError, @unchecked Sendable { | ||
|
||
convenience init() { | ||
self.init(domain: "UID", code: 2) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters