<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "ClockKit"
    ],
    "preciseIdentifier" : "c:@E@CLKWatchFaceLibraryErrorCode"
  },
  "title" : "CLKWatchFaceLibrary.ErrorCode"
}
-->

# CLKWatchFaceLibrary.ErrorCode

Error codes that the watch face library returns.

```
enum ErrorCode
```

## Topics

### Errors

[`case notFileURL`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/notFileURL)

No file was found at the specified URL.

[`case invalidFile`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/invalidFile)

The specified file wasn’t a valid watch face file.

[`case permissionDenied`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/permissionDenied)

The app does not have permission to read the specified file.

[`case faceNotAvailable`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/faceNotAvailable)

The watch face is not available on this device.

[`case notFileURL`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/notFileURL)

No file was found at the specified URL.

[`case invalidFile`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/invalidFile)

The specified file wasn’t a valid watch face file.

[`case permissionDenied`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/permissionDenied)

The app does not have permission to read the specified file.

[`case faceNotAvailable`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/faceNotAvailable)

The watch face is not available on this device.

### Enumeration Cases

[`case noURL`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/noURL)

### Initializers

[`init?(rawValue: Int)`](/documentation/ClockKit/CLKWatchFaceLibrary/ErrorCode/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)