---
title: ejectedSuddenly
framework: ImageCaptureCore
role: symbol
role_heading: Type Property
path: imagecapturecore/icreturnconnectionerror/ejectedsuddenly
---

# ejectedSuddenly

Device ejected without request.

## Declaration

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

## See Also

### Error Codes

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