code: public function onError($errType, $errStr, $errFile, $errLine)
      {
          $backtrace = debug_backtrace();
          $this->errors[] = new Error($errType, $errStr, $errFile, $errLine, $backtrace);
          error_clear_last();
  
          return false;
      }
docs: {@inheritdoc}