new ValidationErrors()
Methods
-
addError(ptr, message)
-
Add error.
Parameters:
Name Type Description ptrstring | module:x2node-pointers~RecordElementPointer The pointer. messagestring The message. -
hasErrors(ptr)
-
Tell is has errors.
Parameters:
Name Type Description ptrstring | module:x2node-pointers~RecordElementPointer The pointer. Returns:
trueif has errors.- Type
- boolean
-
isEmpty()
-
Tell if empty.
Returns:
trueif empty.- Type
- boolean