Prints the message in an ExitException.
The message is only printed if there is one, and is printed in red if the exit status is not 0 (and we are in a tty).
ExitException to print
See Implementation
Prints the message in an ExitException.
The message is only printed if there is one, and is printed in red if the exit status is not 0 (and we are in a tty).