* ValidationResult is the record computed by the validator for each * document. It contains an overall status (PASS/FAIL) and the list of * errors, if any. This class corresponds to the ValidationResult * message in validator.proto in this directory. * @export * @constructor
()
| 130 | * @constructor |
| 131 | */ |
| 132 | function ValidationResult() { |
| 133 | /** |
| 134 | * Possible values are 'UNKNOWN', 'PASS', and 'FAIL'. |
| 135 | * @type {string} |
| 136 | */ |
| 137 | this.status = 'UNKNOWN'; |
| 138 | /** @type {!Array<!ValidationError>} */ |
| 139 | this.errors = []; |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Each validation error describes a specific problem in a validated |
nothing calls this directly
no outgoing calls
no test coverage detected