code: func NewValidationError(errorText string, errorFlags uint32) *ValidationError {
  	return &ValidationError{
  		text:   errorText,
  		Errors: errorFlags,
  	}
  }
docs: // Helper for constructing a ValidationError with a string error message