---
title: errorDomain
framework: Core Haptics
role: symbol
role_heading: Type Property
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.1+, macOS 10.15+, tvOS 14.0+, visionOS 1.0+]
path: corehaptics/chhapticerror/errordomain
---

# errorDomain

## Declaration

```swift
static var errorDomain: String { get }
```

## See Also

### Inspecting an Error

- [CHHapticError.Code](corehaptics/chhapticerror/code.md)
- [Error Constants](corehaptics/error-constants.md)
