dieWithExitCode

Description: Let the script die with a message on stderr and exit code.
Parameter: