Adding the exit code to error message