public function error($title, $message = null, $exitCode = self::CODE_ERROR) { $this->_io->err(sprintf('<error>Error:</error> %s', $title)); if (!empty($message)) { $this->_io->err($message); } $this->_stop($exitCode); return $exitCode; }