code: public function build($stats)
      {
          $this->stats = $stats;
          return ''
              .$this->buildFatal()
              .$this->buildInConsole()
              .$this->buildNotInConsole();
      }
docs: Returns an error summary
  
  @param array $stats error statistics
  
  @return string html