public function exitWithError($message, $code = 128)
    {
        fwrite(STDERR, TerminalInfo::colorize($message, TerminalInfo::RED_BACKGROUND).PHP_EOL);
        exit($code);
    }
public function exitWithError($message, $code = 128)
    {
        fwrite(STDERR, TerminalInfo::colorize($message, TerminalInfo::RED_BACKGROUND).PHP_EOL);
        exit($code);
    }
public function exitWithError ( $ message , $ code = 128 ) { fwrite ( STDERR , TerminalInfo :: colorize ( $ message , TerminalInfo :: RED_BACKGROUND ) . PHP_EOL ) ; exit ( $ code ) ; }
Shows error and terminates script
@param string $message
@param int $code
Shows error and terminates script