<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/MobileDocumentReaderError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader014MobileDocumentB5ErrorO"
  },
  "title" : "MobileDocumentReaderError"
}
-->

# MobileDocumentReaderError

An error type that indicates problems when preparing a mobile document reader session and performing document requests.

```
enum MobileDocumentReaderError
```

## Topics

### Getting the error code

[`case cancelled`](/documentation/ProximityReader/MobileDocumentReaderError/cancelled)

An error that indicates the mobile document request was canceled.

[`case invalidRequest`](/documentation/ProximityReader/MobileDocumentReaderError/invalidRequest)

An error that indicates the request isn’t valid.

[`case invalidResponse`](/documentation/ProximityReader/MobileDocumentReaderError/invalidResponse)

An error that indicates the response isn’t valid.

[`case invalidToken`](/documentation/ProximityReader/MobileDocumentReaderError/invalidToken)

An error that indicates the provided reader token for framework’s prepare
method isn’t valid.

[`case networkUnavailable`](/documentation/ProximityReader/MobileDocumentReaderError/networkUnavailable)

An error that indicates the system can’t reach the network.

[`case notAllowed`](/documentation/ProximityReader/MobileDocumentReaderError/notAllowed)

An error that indicates the device isn’t allowed to perform the mobile
document request.

[`case notSupported`](/documentation/ProximityReader/MobileDocumentReaderError/notSupported)

An error that indicates mobile document reading isn’t supported on the current device.

[`case serviceUnavailable`](/documentation/ProximityReader/MobileDocumentReaderError/serviceUnavailable)

An error that occurs when mobile document reader service is unavailable.

[`case sessionExpired`](/documentation/ProximityReader/MobileDocumentReaderError/sessionExpired)

An error that indicates the current reader session has expired.

[`case systemBusy`](/documentation/ProximityReader/MobileDocumentReaderError/systemBusy)

An error that indicates the system is busy.

[`case unknown`](/documentation/ProximityReader/MobileDocumentReaderError/unknown)

An error that indicates the framework encountered a problem which the
system can’t interpret.

## Relationships

### Conforms To

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

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

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

[`LocalizedError`](/documentation/Foundation/LocalizedError)

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

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

---

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)