---
title: failedToOpenDevice
framework: ImageCaptureCore
role: symbol
role_heading: Type Property
path: imagecapturecore/icreturnconnectionerror/failedtoopendevice
---

# failedToOpenDevice

Failed to open the device.

## Declaration

```swift
static var failedToOpenDevice: ICReturnConnectionError.Code { get }
```

## See Also

### Error Codes

- [closedSessionSuddenly](imagecapturecore/icreturnconnectionerror/closedsessionsuddenly.md)
- [driverExited](imagecapturecore/icreturnconnectionerror/driverexited.md)
- [ejectFailed](imagecapturecore/icreturnconnectionerror/ejectfailed.md)
- [ejectedSuddenly](imagecapturecore/icreturnconnectionerror/ejectedsuddenly.md)
- [failedToOpen](imagecapturecore/icreturnconnectionerror/failedtoopen.md)
- [sessionAlreadyOpen](imagecapturecore/icreturnconnectionerror/sessionalreadyopen.md)
- [ICReturnConnectionError.Code](imagecapturecore/icreturnconnectionerror/code.md)
