enum DeviceSessionError: Error, Equatable, Sendable, LocalizedError
| Member | Description |
|---|---|
noEligibleDevice |
No device is available (not connected, powered off, or incompatible).
|
sessionAlreadyStopped |
An operation was attempted on a session that has already stopped.
|
sessionAlreadyExists |
A non-stopped session already exists for this device.
|
sessionIdle |
The operation was called on a session that is still idle (not yet started).
|
capabilityAlreadyActive |
A capability of the same type is already attached to the session.
|
capabilityNotFound |
No capability of the given type is attached to the session.
|
unexpectedError(String) |
An unexpected error occurred.
|
errorDescription
: String?
[Get] |
A localized description of the error, suitable for display in UI or logging.
|