SchemaItemDiagnostic<TYPE extends SchemaItem, ARGS extends any[]> Class
Beta
An IDiagnostic implementation used for SchemaItemDiagnostic.SchemaItem diagnostics.
Extends
- BaseDiagnostic<TYPE, ARGS>
Extended by
Methods
Name | Description | |
---|---|---|
constructor<TYPE extends SchemaItem<TYPE>, ARGS extends any[]>(ecDefinition: SchemaItem, messageArgs: ARGS, category: DiagnosticCategory = DiagnosticCategory.Error): SchemaItemDiagnostic<TYPE, ARGS> | Initializes a new SchemaItemDiagnostic. |
Properties
Name | Type | Description | |
---|---|---|---|
diagnosticType Accessor ReadOnly | DiagnosticType | Gets the DiagnosticType. | |
diagnosticType Static | DiagnosticType | ||
schema Accessor ReadOnly | Schema | Gets the schema where the diagnostic originated. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
category | DiagnosticCategory | BaseDiagnostic<TYPE, ARGS> | The diagnostic category is of the type DiagnosticCategory; which is defined as an enumeration above. |
code Accessor AbstractReadOnly | string | BaseDiagnostic<TYPE, ARGS> | Gets the unique string identifier for the diagnostic in the format ' |
ecDefinition | TYPE | BaseDiagnostic<TYPE, ARGS> | The EC object to associate with the diagnostic. |
undefined | ARGS | BaseDiagnostic<TYPE, ARGS> | The arguments used when formatting the diagnostic message. | |
string | BaseDiagnostic<TYPE, ARGS> | Gets the message associated with the diagnostic. |
Defined in
Last Updated: 30 November, 2023