<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchConnectivity",
  "identifier" : "/documentation/WatchConnectivity/WCError/Code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Watch Connectivity"
    ],
    "preciseIdentifier" : "c:@E@WCErrorCode"
  },
  "title" : "WCError.Code"
}
-->

# WCError.Code

Constants for errors during a session.

```
enum Code
```

## Topics

### Error Codes

[`WCErrorCodeGenericError`](/documentation/WatchConnectivity/WCError/Code/genericError)

An error that occurs when there is an unknown problem.

[`WCErrorCodeSessionNotSupported`](/documentation/WatchConnectivity/WCError/Code/sessionNotSupported)

An error indicating that the current device doesn’t support the use of session objects.

[`WCErrorCodeSessionMissingDelegate`](/documentation/WatchConnectivity/WCError/Code/sessionMissingDelegate)

An error indicating that the WatchKit extension doesn’t have a valid extension delegate to process events.

[`WCErrorCodeSessionNotActivated`](/documentation/WatchConnectivity/WCError/Code/sessionNotActivated)

An error indicating that the other device doesn’t have an active session.

[`WCErrorCodeDeviceNotPaired`](/documentation/WatchConnectivity/WCError/Code/deviceNotPaired)

An error indicating that the current device doesn’t have a paired counterpart.

[`WCErrorCodeWatchAppNotInstalled`](/documentation/WatchConnectivity/WCError/Code/watchAppNotInstalled)

An error indicating that the Watch app isn’t an installed app on the user’s Apple Watch.

[`WCErrorCodeNotReachable`](/documentation/WatchConnectivity/WCError/Code/notReachable)

An error indicating that the counterpart app isn’t reachable.

[`WCErrorCodeInvalidParameter`](/documentation/WatchConnectivity/WCError/Code/invalidParameter)

An error indicating that a parameter is invalid.

[`WCErrorCodePayloadTooLarge`](/documentation/WatchConnectivity/WCError/Code/payloadTooLarge)

An error indicating an attempt to send an item that exceeds the maximum size limit.

[`WCErrorCodePayloadUnsupportedTypes`](/documentation/WatchConnectivity/WCError/Code/payloadUnsupportedTypes)

An error indicating that a dictionary contains nonproperty list types.

[`WCErrorCodeMessageReplyFailed`](/documentation/WatchConnectivity/WCError/Code/messageReplyFailed)

An error that occurs when the system can’t return the reply.

[`WCErrorCodeMessageReplyTimedOut`](/documentation/WatchConnectivity/WCError/Code/messageReplyTimedOut)

An error that occurs when the counterpart app doesn’t return a reply in time.

[`WCErrorCodeFileAccessDenied`](/documentation/WatchConnectivity/WCError/Code/fileAccessDenied)

An error indicating that the system can’t transfer a file because it is inaccessible.

[`WCErrorCodeDeliveryFailed`](/documentation/WatchConnectivity/WCError/Code/deliveryFailed)

An error that occurs when the system can’t deliver the payload.

[`WCErrorCodeInsufficientSpace`](/documentation/WatchConnectivity/WCError/Code/insufficientSpace)

An error indicating that there isn’t enough space on the receiving side to store the data.

[`WCErrorCodeSessionInactive`](/documentation/WatchConnectivity/WCError/Code/sessionInactive)

An error indicating that the session is inactive.

[`WCErrorCodeTransferTimedOut`](/documentation/WatchConnectivity/WCError/Code/transferTimedOut)

An error that occurs when the transfer reaches the timeout limit before it completes.

[`WCErrorCodeCompanionAppNotInstalled`](/documentation/WatchConnectivity/WCError/Code/companionAppNotInstalled)

An error indicating that the companion hasn’t installed the app.

[`WCErrorCodeWatchOnlyApp`](/documentation/WatchConnectivity/WCError/Code/watchOnlyApp)

An error indicating that the app is a watch-only app.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)