Readonly troublesArray of troubles directly related to this model. Troubles are typically sorted by rank (highest priority first).
Readonly troubleSummary status string representing the highest priority trouble. Returns a human-readable status or 'OK' if no troubles exist.
Readonly troublesTroubles organized by their type property. Useful for filtering and categorized display of issues.
const errorTroubles = model.troublesByType['ERROR'] || [];
const warningTroubles = model.troublesByType['WARNING'] || [];
Interface for models that can track and expose trouble states.
TroubleAware provides a standardized way for KOS models to expose their trouble states, making it easy to monitor, display, and react to issues throughout the system. Any model implementing this interface can be monitored for troubles and integrated with trouble management UI.
Key Concepts
Example
Example
Example
See