optris::sdk::ActionError
An action that could not be carried out.
An action failure never propagates into frame processing and never changes the alarm state -- the alarm is a fact about the world, not about the disk.
Public attributes
rule_id
uint64_t rule_id = 0
the rule whose action failed
action_index
size_t action_index = 0
which of its actions, in order
path
std::string path
The file the action was trying to write, when it was writing one.
message
std::string message
what went wrong, for a human
sequence
uint64_t sequence = 0
The causing AlarmEvent's sequence, carried through unchanged.
The field to correlate on, as it is on ActionCompleted. A failed still has no file, and two stills of one rule in the same second would share a name if they had one, so neither the path nor the rule and a nearby time can say which activation failed. Matching this against the event's sequence is exact.