customError

The read-only customError property of the ValidityState interface returns true if an element doesn't meet the validation required in the custom validity set by the element's HTMLInputElement.setCustomValidity method.

MDN Reference