public function build($stats)
    {
        $this->stats = $stats;
        return ''
            .$this->buildFatal()
            .$this->buildInConsole()
            .$this->buildNotInConsole();
    }
public function build($stats)
    {
        $this->stats = $stats;
        return ''
            .$this->buildFatal()
            .$this->buildInConsole()
            .$this->buildNotInConsole();
    }
Returns an error summary

@param array $stats error statistics

@return string html