---
title: CLKWatchFaceLibrary.ErrorCode
framework: clockkit
role: symbol
role_heading: Enumeration
path: clockkit/clkwatchfacelibrary/errorcode
---

# CLKWatchFaceLibrary.ErrorCode

Error codes that the watch face library returns.

## Declaration

```swift
enum ErrorCode
```

## Topics

### Errors

- [CLKWatchFaceLibrary.ErrorCode.notFileURL](clockkit/clkwatchfacelibrary/errorcode/notfileurl.md)
- [CLKWatchFaceLibrary.ErrorCode.invalidFile](clockkit/clkwatchfacelibrary/errorcode/invalidfile.md)
- [CLKWatchFaceLibrary.ErrorCode.permissionDenied](clockkit/clkwatchfacelibrary/errorcode/permissiondenied.md)
- [CLKWatchFaceLibrary.ErrorCode.faceNotAvailable](clockkit/clkwatchfacelibrary/errorcode/facenotavailable.md)
- [CLKWatchFaceLibrary.ErrorCode.notFileURL](clockkit/clkwatchfacelibrary/errorcode/notfileurl.md)
- [CLKWatchFaceLibrary.ErrorCode.invalidFile](clockkit/clkwatchfacelibrary/errorcode/invalidfile.md)
- [CLKWatchFaceLibrary.ErrorCode.permissionDenied](clockkit/clkwatchfacelibrary/errorcode/permissiondenied.md)
- [CLKWatchFaceLibrary.ErrorCode.faceNotAvailable](clockkit/clkwatchfacelibrary/errorcode/facenotavailable.md)

### Enumeration Cases

- [CLKWatchFaceLibrary.ErrorCode.noURL](clockkit/clkwatchfacelibrary/errorcode/nourl.md)

### Initializers

- [init(rawValue:)](clockkit/clkwatchfacelibrary/errorcode/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)

## See Also

### Handling Errors

- [ErrorDomain](clockkit/clkwatchfacelibrary/errordomain.md)
