constructor Method
Initializes a new ClassDiagnostic.
ClassDiagnostic<ARGS extends any[]>(ecClass: AnyClass, messageArgs: ARGS, category: DiagnosticCategory = DiagnosticCategory.Error): ClassDiagnostic<ARGS>
Parameter | Type | Description |
---|---|---|
ecClass | AnyClass | The class to associate with the diagnostic. |
ARGS | The arguments used when formatting the diagnostic message. | |
category | DiagnosticCategory | The DiagnosticCategory to associate with the diagnostic, Error by default. |
Returns - ClassDiagnostic<ARGS>
Defined in
Last Updated: 30 November, 2023