optris::sdk::DeviceException
Device errors: not found, not accessible, disconnected, timeout.
Inherits from optris::sdk::SdkException.
Public functions
DeviceException
DeviceException(std::string message, std::string serial="")
Construct, naming the camera when it is known.
Parameters
| Name | Description |
|---|---|
message |
What went wrong. |
serial |
The camera's serial number, or empty when the failure happened before any camera was identified. |
serial
auto serial() const -> const std::string &
Serial number of the device that caused the error, if known.