Adding error output for all exit conditions