---
title: HMError.Code.missingEntitlement
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/missingentitlement
---

# HMError.Code.missingEntitlement

An error indicating a required entitlement is not available.

## Declaration

```swift
case missingEntitlement
```

## See Also

### General errors

- [HMError.Code.alreadyExists](homekit/hmerror/code/alreadyexists.md)
- [HMError.Code.genericError](homekit/hmerror/code/genericerror.md)
- [incompatibleHomeHub](homekit/hmerror/code/incompatiblehomehub.md)
- [HMError.Code.invalidClass](homekit/hmerror/code/invalidclass.md)
- [HMError.Code.notFound](homekit/hmerror/code/notfound.md)
- [HMError.Code.notificationAlreadyEnabled](homekit/hmerror/code/notificationalreadyenabled.md)
- [HMError.Code.notificationNotSupported](homekit/hmerror/code/notificationnotsupported.md)
- [HMError.Code.operationNotSupported](homekit/hmerror/code/operationnotsupported.md)
- [HMError.Code.unexpectedError](homekit/hmerror/code/unexpectederror.md)
- [HMError.Code.referToUserManual](homekit/hmerror/code/refertousermanual.md)
