Report Guide
#
Validation ReportAll the validate
functions return the Validation Report. It's an unified object containing information about a validation: source details, found error, etc. Let's explore a report:
As we can see, there are a lot of information; you can find its details description in "API Reference". Errors are grouped by tables; for some validation there are can be dozens of tables. Let's use the report.flatten
function to simplify errors representation:
In some situation, an error can't be associated with a table; then it goes to the top-level report.errors
property:
#
Validation ErrorsThe Error object is at the heart of the validation process. The Report has report.errors
and report.tables[].errors
properties that can contain the Error object. Let's explore it:
Above, we have listed universal error properties. Depending on the type of an error there can be additional ones. For example, for our duplicate-label
error:
Please explore "Errors Reference" to learn about all the available errors and their properties.