/** * Retruns a generic error. * * @access protected * @return string */ protected function getGenericError() { $this->output->errorLn('<bg_red><white>An error has occurred while processing your task.</white></bg_red>' . PHP_EOL); }
/** * Writes string to output using the error writer. * * @access protected * @param string $string String to write */ protected function error($string) { $this->output->errorLn('<red>' . $string . '</red>'); }