Optionaloptions: {Optionaldropped?: booleanWhether the value was dropped from some parent collection.
Optionalfallback?: anyThe value it was replaced by, if any.
OptionalinvalidValue?: anyThe value that failed validation for this field.
Optionalmessage?: stringThe validation error message.
Optionalunresolved?: booleanWhether this failure was unresolved
Whether the value was dropped from some parent collection.
If this field contains a list of elements that are validated as part of its validation, their results are recorded here.
The value it was replaced by, if any.
If this field contains other fields that are validated as part of its validation, their results are recorded here.
The value that failed validation for this field.
The validation error message.
Record whether a validation failure is unresolved. This reports as true if validation for this field or any hierarchically contained field is unresolved. A failure is unresolved if the value was invalid and there was no valid fallback value available.
Return this validation failure as an Error object.
Whether this failure contains other sub-failures.
Return the base properties of this failure, omitting any nested failures.
Represent the DataModelValidationFailure as a string.
A class responsible for recording information about a validation failure.