Enumeration

WatchKitErrorCode

Error codes reported by WatchKit.

Declaration

typedef enum WatchKitErrorCode : NSInteger {
    ...
} WatchKitErrorCode;

Topics

Error Codes

WatchKitApplicationDelegateWatchKitRequestReplyNotCalledError

An unresponsive delegate error. WatchKit reports this error when you call the openParentApplication:reply: method and the iOS app delegate that receives the message fails to return a reply.

WatchKitDownloadError

A download error. WatchKit reports this error when a media file could not be downloaded.

WatchKitInvalidArgumentError

An invalid argument error. WatchKit reports this error when you specify invalid settings for one of the system supplied interfaces.

WatchKitMediaPlayerError

A media player error. WatchKit reports this error when it is unable to play a media file.

WatchKitRecordingFailedError

An audio recording error. WatchKit reports this error when it is unable to record audio using the audio recording interface.

WatchKitUnknownError

An unknown error. This error code is reported when the precise reason for failure could not be determined.

See Also

Errors

WatchKitErrorDomain

The domain for WatchKit errors. This value is used in the NSError class.