---
title: "externalSyncDevice(_:failedWithError:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avexternalsyncdevicedelegate/externalsyncdevice(_:failedwitherror:)"
---

# externalSyncDevice(_:failedWithError:)

## Declaration

```swift
optional func externalSyncDevice(_ device: AVExternalSyncDevice, failedWithError error: (any Error)?)
```

## See Also

### Responding to device events

- [externalSyncDeviceStatusDidChange(_:)](avfoundation/avexternalsyncdevicedelegate/externalsyncdevicestatusdidchange(_:).md)
