Unique identifier for the trouble instance
List of interface identifiers this trouble affects
Client-specific data attached to the trouble
Classification type of the trouble (e.g., 'ERROR', 'WARNING', 'INFO')
Searchable tags for categorizing troubles
Additional information about the trouble state
Original trouble ID before any transformations
Resolves the trouble, returning a promise with the resolution response
Domain-specific additional data attached to the trouble
Priority rank from 1-10 (10 being most critical)
User role required to view/resolve this trouble
Display color for UI representation (e.g., 'red', 'yellow', 'orange')
Whether this trouble has been deferred
Whether this item should be deferred based on current conditions
Defers the item, preventing normal processing
Clears the deferral, allowing normal processing to resume
Optional resolvableWhether this trouble can be resolved through user action
Optional reasonHuman-readable description of why the trouble occurred
Optional createISO timestamp when the trouble was created
Optional futureAssociated future for async resolution operations
Optional groupOptional grouping identifier for related troubles
Represents a trouble (issue, alert, or condition) in the KOS system.
TroubleModel is the core interface for managing system issues, warnings, and alerts throughout the KOS platform. It provides a unified way to track, display, resolve, and defer various types of operational issues.
Key Features
Example: Basic Usage
Use Declared Type
See