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

# ENError.Code

Error codes that the exposure notification framework issues.

## Declaration

```swift
enum Code
```

## Overview

Overview important: This enumeration is available in iOS 12.5, and in iOS 13.5 and later.

## Topics

### 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.restricted](exposurenotification/enerror/code/restricted.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)
- [ENError.Code.travelStatusNotAvailable](exposurenotification/enerror/code/travelstatusnotavailable.md)

### Initializers

- [init(rawValue:)](exposurenotification/enerror/code/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

### Errors

- [ENError](exposurenotification/enerror.md)
- [ENErrorDomain](exposurenotification/enerrordomain.md)
- [ENErrorHandler](exposurenotification/enerrorhandler.md)
