---
title: ICReturnConnectionError.Code.ejectedSuddenly
framework: ImageCaptureCore
role: symbol
role_heading: Case
path: imagecapturecore/icreturnconnectionerror/code/ejectedsuddenly
---

# ICReturnConnectionError.Code.ejectedSuddenly

Device ejected without request.

## Declaration

```swift
case ejectedSuddenly
```

## See Also

### Error Cases

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