---
title: WKWebExtension.DataRecord.Error
framework: webkit
role: symbol
role_heading: Structure
path: webkit/wkwebextension/datarecord/error
---

# WKWebExtension.DataRecord.Error

Constants that indicate errors in the WKWebExtension.DataRecord domain.

## Declaration

```swift
struct Error
```

## Topics

### Type Properties

- [errorDomain](webkit/wkwebextension/datarecord/error/errordomain.md)
- [localStorageFailed](webkit/wkwebextension/datarecord/error/localstoragefailed.md)
- [sessionStorageFailed](webkit/wkwebextension/datarecord/error/sessionstoragefailed.md)
- [synchronizedStorageFailed](webkit/wkwebextension/datarecord/error/synchronizedstoragefailed.md)
- [unknown](webkit/wkwebextension/datarecord/error/unknown.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
