/** * Returns error messages * * @return string */ public function getErrors() { $errors = $this->results->getErrors(); return $this->getDefects($errors, 'error'); }