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

# WKWebExtension.MatchPattern.Error

Constants that indicate errors in the WKWebExtension.MatchPattern domain.

## Declaration

```swift
struct Error
```

## Topics

### Type Properties

- [errorDomain](webkit/wkwebextension/matchpattern/error/errordomain.md)
- [invalidHost](webkit/wkwebextension/matchpattern/error/invalidhost.md)
- [invalidPath](webkit/wkwebextension/matchpattern/error/invalidpath.md)
- [invalidScheme](webkit/wkwebextension/matchpattern/error/invalidscheme.md)
- [unknown](webkit/wkwebextension/matchpattern/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)

## See Also

### Errors

- [WKWebExtension.MatchPattern.Error.Code](webkit/wkwebextension/matchpattern/error/code.md)
- [errorDomain](webkit/wkwebextension/matchpattern/errordomain.md)
