src/CLI/Command/Program.php
protected function showError( $message, $exitCode = self::EXIT_NO )
	{
		if( is_array( $message ) )
			$message	= join( PHP_EOL, $message );
		$message	= PHP_EOL.$message.PHP_EOL;
		print( $message );
		if( $exitCode != self::EXIT_NO )
			exit( $exitCode );
	}
protected function showError( $message, $exitCode = self::EXIT_NO )
	{
		if( is_array( $message ) )
			$message	= join( PHP_EOL, $message );
		$message	= PHP_EOL.$message.PHP_EOL;
		print( $message );
		if( $exitCode != self::EXIT_NO )
			exit( $exitCode );
	}
protected function showError ( $ message , $ exitCode = self :: EXIT_NO ) { if ( is_array ( $ message ) ) $ message = join ( PHP_EOL , $ message ) ; $ message = PHP_EOL . $ message . PHP_EOL ; print ( $ message ) ; if ( $ exitCode != self :: EXIT_NO ) exit ( $ exitCode ) ; }
Prints Error Message to Console, can be overwritten.
@access		protected
@param		string|array	$message		Error Message to print to Console
@param		integer			$exitCode		Quit program afterwards, if >= 0 (EXIT_OK|EXIT_INIT|EXIT_PARSE|EXIT_RUN), default: -1 (EXIT_NO)
@return		void
Prints Error Message to Console can be overwritten .