schema.fielderror.constraints.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/schema > FieldError > constraints

FieldError.constraints property

Constraints for the field so parameters can be retrieved. Note that there must be an entry in the constraints object for the rule that failed.

Signature:

constraints: Constraints;