<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDocumentBrowserError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:SC26UIDocumentBrowserErrorCodeLeV"
  },
  "title" : "UIDocumentBrowserError"
}
-->

# UIDocumentBrowserError

A structure that contains information about document browser errors.

```
struct UIDocumentBrowserError
```

## Topics

### Error codes

[`static var generic: UIDocumentBrowserError.Code`](/documentation/UIKit/UIDocumentBrowserError/generic)

An unspecified error.

[`static var noLocationAvailable: UIDocumentBrowserError.Code`](/documentation/UIKit/UIDocumentBrowserError/noLocationAvailable)

An error indicating that no location exists.

[`enum Code`](/documentation/UIKit/UIDocumentBrowserError/Code)

The error codes for document browser errors.

### Getting error properties

[`static var errorDomain: String`](/documentation/UIKit/UIDocumentBrowserError/errorDomain)

A string that identifies the error domain.

## Relationships

### Conforms To

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

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

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

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

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

[`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)