---
title: error
framework: accessorysetupkit
role: symbol
role_heading: Instance Property
path: accessorysetupkit/asaccessoryevent/error
---

# error

The error associated with the event, if any.

## Declaration

```swift
var error: (any Error)? { get }
```
