original_string: public function errors()
      {
          $errors = parent::errors();
  
          if ( ! empty($errors)) {
              $errors[ $this->generalErrorsKey() ] = $this->collectGeneralErrors($errors);
          }
  
          return $errors;
      }
code: public function errors()
      {
          $errors = parent::errors();
  
          if ( ! empty($errors)) {
              $errors[ $this->generalErrorsKey() ] = $this->collectGeneralErrors($errors);
          }
  
          return $errors;
      }
code_tokens: public function errors ( ) { $ errors = parent :: errors ( ) ; if ( ! empty ( $ errors ) ) { $ errors [ $ this -> generalErrorsKey ( ) ] = $ this -> collectGeneralErrors ( $ errors ) ; } return $ errors ; }
docstring: Get all of the validation error messages.
  
  @return array
docstring_tokens: Get all of the validation error messages .