Dominevo
ReferenceDevice capabilities

error

How loudly a fault wants the operator.

How loudly a fault wants the operator. Both tiers raise the attention event.

At a glance

Capabilityerror
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typesany (no device type declared)
Sourcepackages/types/src/capabilities/error.cap.ts

Methods

This capability declares no methods.

Runtime state

The state Dominevo keeps for each device with this capability, readable without calling the provider.

FieldTypeRequiredDescription
activeboolean | nullyes
codestring | nullyesThe code of the principal fault; null when none (or unknown).
labelstring | nullyesThe principal fault's words, provider-translated; null when none.
severity"warning" | "error"yes
sincenumber | nullyesMs epoch the current fault started; null when none or not known.
faults({ code: string; label: string; severity: "warning" | "error" })[]noEvery fault, for a device that raises several. The principal is the first.
lastFetchedAtnumberyesMs epoch of the last read the provider made of the fault.