NyanCat\PHPUnit\ResultPrinter::addError PHP Method

addError() public method

public addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception
    public function addError(\PHPUnit_Framework_Test $test, \Exception $e, $time)
    {
        if ($this->debug) {
            return parent::addError($test, $e, $time);
        }
        $this->writeProgress('fail');
        $this->lastTestFailed = TRUE;
    }