optris::sdk::Error
A machine-readable code and the human-readable explanation that goes with it. Callers branch on code and log message; never the other way round.
Template parameters
| Name | Description |
|---|---|
E |
Error enum type of the subsystem (RecordError, PifError). |
Public attributes
code
E code
Machine-readable error code.
message
std::string message
Human-readable error description.