exitFailure
Lifted version of
exitFailure.
>>> exitFailure
*** Exception: ExitFailure 1
Lifted version of "System.Exit.exitFailure".
@since 0.1.9.0.
base System.Exit GHC.IO.Exception,
protolude Protolude,
typed-process System.Process.Typed,
rio RIO,
base-prelude BasePrelude,
turtle Turtle,
Cabal-syntax Distribution.Compat.Prelude,
ghc-internal GHC.Internal.IO.Exception GHC.Internal.System.Exit,
rebase Rebase.Prelude,
main-tester Test.Main,
cabal-install-solver Distribution.Solver.Compat.Prelude 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.
Process exited with failure.