public function errors()
    {
        $errors = parent::errors();

        if ( ! empty($errors)) {
            $errors[ $this->generalErrorsKey() ] = $this->collectGeneralErrors($errors);
        }

        return $errors;
    }
public function errors()
    {
        $errors = parent::errors();

        if ( ! empty($errors)) {
            $errors[ $this->generalErrorsKey() ] = $this->collectGeneralErrors($errors);
        }

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

@return array
Get all of the validation error messages .