ClassDiagnostic<ARGS extends any[]> Class

An IDiagnostic implementation used for ECClass diagnostics.

Extends

Methods

Name Description
constructor<ARGS extends any[]>(ecClass: AnyClass, messageArgs: ARGS, category: DiagnosticCategoryDiagnosticCategory.Error): ClassDiagnostic<ARGS> Initializes a new ClassDiagnostic.  

Properties

Name Type Description
schema Accessor ReadOnly Schema Gets the schema where the diagnostic originated.  

Inherited properties

Name Type Inherited from Description
category Inherited DiagnosticCategory SchemaItemDiagnostic<AnyClass, ARGS> The diagnostic category is of the type DiagnosticCategory; which is defined as an enumeration above.
code Accessor Abstract Inherited ReadOnly string SchemaItemDiagnostic<AnyClass, ARGS> Gets the unique string identifier for the diagnostic in the format ':'.
diagnosticType Accessor Inherited ReadOnly DiagnosticType SchemaItemDiagnostic<AnyClass, ARGS> Gets the DiagnosticType.
diagnosticType Static Inherited DiagnosticType SchemaItemDiagnostic<AnyClass, ARGS>  
ecDefinition Inherited AnyClass SchemaItemDiagnostic<AnyClass, ARGS> The EC object to associate with the diagnostic.
messageArgs Inherited ARGS | undefined SchemaItemDiagnostic<AnyClass, ARGS> The arguments used when formatting the diagnostic message.
messageText Accessor Abstract Inherited ReadOnly string SchemaItemDiagnostic<AnyClass, ARGS> Gets the message associated with the diagnostic.

Defined in

Last Updated: 21 November, 2024