This class is a convenient wrapper around StreamOutput.
$output = new ConsoleOutput();
This is equivalent to:
$output = new StreamOutput(fopen('php://stdout', 'w'));
public static function exceptionHandler(\Exception $e) { $output = new ConsoleOutput(); $output->writelnError($e->getMessage()); $output->writelnComment($e->getTraceAsString()); }