Warning
ts
interface Warning {
message: string;
source?: string;
hint?: string;
instantlyWarn?: boolean;
tag?: string;
documentation?: string;
}Represents a single warning payload used by Warner.
Fields
| Field | Type | Description |
|---|---|---|
message | string | Main warning text. |
source | string | Optional source label (module/feature). |
hint | string | Optional user action or remediation. |
instantlyWarn | boolean | Emit immediately when true. |
tag | string | Optional classification tag. |
documentation | string | Optional docs URL or reference. |