---
title: closedSessionSuddenly
framework: ImageCaptureCore
role: symbol
role_heading: Type Property
path: imagecapturecore/icreturnconnectionerror/closedsessionsuddenly
---

# closedSessionSuddenly

Device closed session without request.

## Declaration

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

## See Also

### Error Codes

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