exitFailure -package:lens

The computation exitFailure is equivalent to exitWith (ExitFailure exitfail), where exitfail is implementation-dependent.
Lifted version of exitFailure.
>>> exitFailure
*** Exception: ExitFailure 1
Lifted version of "System.Exit.exitFailure". @since 0.1.9.0.
indicates program failure with an exit code. The exact interpretation of the code is operating-system dependent. In particular, some values may be prohibited (e.g. 0 on a POSIX-compliant system).
Also known as die in newer versions of base.
Catch the specified exception. If that exception is caught, exit the program.
Hang on the ExitFailure case of an ExitCode.
Process exited with failure.