Indicate that the program finished in a controlled manner, and should complete with the given statusCode
If true, the error message should be printed to stderr.
The value to use as the exit code for the process.