---
title: WatchKitError.Code
framework: WatchKit
role: symbol
role_heading: Enumeration
path: watchkit/watchkiterror/code
---

# WatchKitError.Code

Error codes reported by WatchKit.

## Declaration

```swift
enum Code
```

## Topics

### Error Codes

- [WatchKitError.Code.downloadFailed](watchkit/watchkiterror/code/downloadfailed.md)
- [WatchKitError.Code.invalidArgument](watchkit/watchkiterror/code/invalidargument.md)
- [WatchKitError.Code.mediaPlayerFailed](watchkit/watchkiterror/code/mediaplayerfailed.md)
- [WatchKitError.Code.recordingFailed](watchkit/watchkiterror/code/recordingfailed.md)
- [WatchKitError.Code.unknown](watchkit/watchkiterror/code/unknown.md)
- [WatchKitError.Code.applicationDelegateWatchKitRequestReplyNotCalled](watchkit/watchkiterror/code/applicationdelegatewatchkitrequestreplynotcalled.md)
- [WatchKitError.Code.downloadFailed](watchkit/watchkiterror/code/downloadfailed.md)
- [WatchKitError.Code.invalidArgument](watchkit/watchkiterror/code/invalidargument.md)
- [WatchKitError.Code.mediaPlayerFailed](watchkit/watchkiterror/code/mediaplayerfailed.md)
- [WatchKitError.Code.recordingFailed](watchkit/watchkiterror/code/recordingfailed.md)
- [WatchKitError.Code.unknown](watchkit/watchkiterror/code/unknown.md)
- [WatchKitError.Code.applicationDelegateWatchKitRequestReplyNotCalled](watchkit/watchkiterror/code/applicationdelegatewatchkitrequestreplynotcalled.md)

### Initializers

- [init(rawValue:)](watchkit/watchkiterror/code/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
