orDieWithCode with an exit code of 1 in case of an error
Moduletransformers-except-0.1.4Haskell98
Control.Monad.Trans.Except.Exit
- 2 values
- Packagetransformers-except-0.1.4
- Exports2
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceExit.hs
An idiom for failing hard on EitherT errors.
This really dies*. There is no other way to say it.
The reason it lives with command line parser tooling, is that it is the only valid place to actually exit like this. Be appropriately wary.