<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEBrowserDataExchangeError-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "s:SC26BEBrowserDataExchangeErrorLeV"
  },
  "title" : "BEBrowserDataExchangeError"
}
-->

# BEBrowserDataExchangeError

An error that occurs during browser data import or export operations.

```
struct BEBrowserDataExchangeError
```

## Overview

This error type provides codes for failures during the transfer of browsing data, including import failures, export failures, and unknown errors.

## Topics

### Identifying error types

[`enum Code`](/documentation/BrowserKit/BEBrowserDataExchangeError-swift.struct/Code)

The types of data exchange errors that can occur.

[`static var export: BEBrowserDataExchangeError.Code`](/documentation/BrowserKit/BEBrowserDataExchangeError-swift.struct/export)

An error that indicates a failure during the export operation.

[`static var `import`: BEBrowserDataExchangeError.Code`](/documentation/BrowserKit/BEBrowserDataExchangeError-swift.struct/import)

An error that indicates a failure during the import operation.

[`static var unknown: BEBrowserDataExchangeError.Code`](/documentation/BrowserKit/BEBrowserDataExchangeError-swift.struct/unknown)

An error that indicates an unexpected failure.

### Getting error information

[`static var errorDomain: String`](/documentation/BrowserKit/BEBrowserDataExchangeError-swift.struct/errorDomain)

A constant that identifies the error domain for browser data exchange errors.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)