constructor Method

Initializes a new RelationshipConstraintDiagnostic.

RelationshipConstraintDiagnostic<ARGS extends any[]>(constraint: RelationshipConstraint, messageArgs: ARGS, category: DiagnosticCategoryDiagnosticCategory.Error): RelationshipConstraintDiagnostic<ARGS>

Parameter Type Description
constraint RelationshipConstraint The Relationship Constraint to associate with the diagnostic.
messageArgs ARGS The arguments used when formatting the diagnostic message.
category DiagnosticCategory The DiagnosticCategory to associate with the diagnostic, Error by default.

Returns - RelationshipConstraintDiagnostic<ARGS>

Defined in

Last Updated: 23 November, 2024