constructor Method
Initializes a new SchemaItemDiagnostic.
SchemaItemDiagnostic<TYPE extends SchemaItem, ARGS extends any[]>(ecDefinition: SchemaItem, messageArgs: ARGS, category: DiagnosticCategoryDiagnosticCategory.Error): SchemaItemDiagnostic<TYPE, ARGS>
Parameter | Type | Description |
---|---|---|
ecDefinition | SchemaItem | The EC object 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 - SchemaItemDiagnostic<TYPE, ARGS>
Defined in
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.