Skip to content

Commit 00bb9d1

Browse files
committed
[SE-0112] Associate various error-code enums with their error domains in the SDK.
1 parent 953076d commit 00bb9d1

19 files changed

+148
-3
lines changed

apinotes/AVKit.apinotes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
Name: AVKit
3+
Tags:
4+
- Name: AVKitError
5+
NSErrorDomain: AVKitErrorDomain
6+

apinotes/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
set(SWIFT_API_NOTES_INPUTS
22
AVFoundation
3+
AVKit
34
AppKit
45
AudioToolbox
56
CallKit
@@ -9,28 +10,39 @@ set(SWIFT_API_NOTES_INPUTS
910
CoreData
1011
CoreGraphics
1112
CoreLocation
13+
CoreSpotlight
1214
CoreText
1315
Dispatch
1416
EventKit
17+
ExternalAccessory
1518
Foundation
1619
GameKit
20+
GLKit
21+
HealthKit
1722
HomeKit
23+
iAd
1824
Intents
1925
LocalAuthentication
26+
MapKit
2027
MediaPlayer
28+
MessageUI
2129
Metal
2230
MultipeerConnectivity
31+
NetworkExtension
2332
NotificationCenter
2433
ObjectiveC
2534
PassKit
2635
QuartzCore
2736
QuickLook
37+
SafariServices
2838
SceneKit
2939
SpriteKit
3040
StoreKit
3141
TVMLKit
3242
TVServices
3343
UIKit
44+
UserNotifications
45+
VideoSubscriberAccount
3446
WatchConnectivity
3547
WatchKit
3648
WebKit

apinotes/CoreSpotlight.apinotes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
Name: CoreSpotlight
3+
Tags:
4+
- Name: CSIndexErrorCode
5+
NSErrorDomain: CSIndexErrorDomain
6+
- Name: CSSearchQueryErrorCode
7+
NSErrorDomain: CSSearchQueryErrorDomain

apinotes/CoreText.apinotes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
Name: CoreText
3-
3+
Tags:
4+
- Name: CTFontManagerError
5+
NSErrorDomain: kCTFontManagerErrorDomain
46
Enumerators:
57
- Name: kCTUnderlinePatternSolid
68
SwiftName: patternSolid

apinotes/ExternalAccessory.apinotes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
Name: ExternalAccessory
3+
Tags:
4+
- Name: EABluetoothAccessoryPickerErrorCode
5+
NSErrorDomain: EABluetoothAccessoryPickerErrorDomain

apinotes/GLKit.apinotes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
Name: GLKit
3+
Tags:
4+
- Name: GLKTextureLoaderError
5+
NSErrorDomain: GLKTextureLoaderErrorDomain

apinotes/GameKit.apinotes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ Classes:
99
Tags:
1010
- Name: GKErrorCode
1111
NSErrorDomain: GKErrorDomain
12+
- Name: GKGameSessionErrorCode
13+
NSErrorDomain: GKGameSessionErrorDomain
14+
- Name: GKSessionError
15+
NSErrorDomain: GKSessionErrorDomain
16+
- Name: GKVoiceChatServiceError
17+
NSErrorDomain: GKVoiceChatServiceErrorDomain

apinotes/HealthKit.apinotes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
Name: HealthKit
3+
Tags:
4+
- Name: HKErrorCode
5+
NSErrorDomain: HKErrorDomain

apinotes/MapKit.apinotes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
Name: MapKit
3+
Tags:
4+
- Name: MKErrorCode
5+
NSErrorDomain: MKErrorDomain

apinotes/MediaPlayer.apinotes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ Classes:
1919
- Selector: 'getPlaylistWithUUID:creationMetadata:completionHandler:'
2020
SwiftName: 'getPlaylist(with:creationMetadata:completionHandler:)'
2121
MethodKind: Instance
22+
Tags:
23+
- Name: MPErrorCode
24+
NSErrorDomain: MPErrorDomain

0 commit comments

Comments
 (0)