code: public function renderErrors()
      {
          if ($this->filterModel instanceof Model && $this->filterModel->hasErrors()) {
              return Html::errorSummary($this->filterModel, $this->filterErrorSummaryOptions);
          }
  
          return '';
      }
docs: Renders validator errors of filter model.
  @return string the rendering result.