setErrors
Sets document errors.
The errors
parameter is a map from namespaces where each value is a map from data elements in said namespace to an error code from ISO/IEC 18013-5:2021 Table 9.
Return
the generator.
Parameters
errors
the map described above.