---
title: ENError.Code.restricted
framework: Exposure Notification
role: symbol
role_heading: Case
platforms: [iOS 12.5+, iPadOS 12.5+, Mac Catalyst 12.5+]
path: exposurenotification/enerror/code/restricted
---

# ENError.Code.restricted

Exposure notification is disabled due to system policies.

## Declaration

```swift
case restricted
```

## See Also

### Error Codes

- [ENError.Code.apiMisuse](exposurenotification/enerror/code/apimisuse.md)
- [ENError.Code.badFormat](exposurenotification/enerror/code/badformat.md)
- [ENError.Code.badParameter](exposurenotification/enerror/code/badparameter.md)
- [ENError.Code.bluetoothOff](exposurenotification/enerror/code/bluetoothoff.md)
- [ENError.Code.insufficientMemory](exposurenotification/enerror/code/insufficientmemory.md)
- [ENError.Code.insufficientStorage](exposurenotification/enerror/code/insufficientstorage.md)
- [ENError.Code.internal](exposurenotification/enerror/code/internal.md)
- [ENError.Code.invalidated](exposurenotification/enerror/code/invalidated.md)
- [ENError.Code.notAuthorized](exposurenotification/enerror/code/notauthorized.md)
- [ENError.Code.notEnabled](exposurenotification/enerror/code/notenabled.md)
- [ENError.Code.notEntitled](exposurenotification/enerror/code/notentitled.md)
- [ENError.Code.rateLimited](exposurenotification/enerror/code/ratelimited.md)
- [ENError.Code.unknown](exposurenotification/enerror/code/unknown.md)
- [ENError.Code.unsupported](exposurenotification/enerror/code/unsupported.md)
- [ENError.Code.dataInaccessible](exposurenotification/enerror/code/datainaccessible.md)
