enclosed-exceptions

Catching all exceptions from within an enclosed computation

https://github.com/jcristovao/enclosed-exceptions

Version on this page:1.0.1
LTS Haskell 17.15:1.0.3
Stackage Nightly 2021-06-10:1.0.3
Latest on Hackage:1.0.3

See all snapshots enclosed-exceptions appears in

MIT licensed by Michael Snoyman, João Cristóvão
This version can be pinned in stack with:enclosed-exceptions-1.0.1@sha256:34658e541c19166f7627dc0fc4d18868fb91726367e5ed3d715cf7f351172aa0,1902

Module documentation for 1.0.1

  • Control
    • Control.Exception
      • Control.Exception.Enclosed

Catching all exceptions raised within an enclosed computation, while remaining responsive to (external) asynchronous exceptions. For more information on the technique, please see: https://www.fpcomplete.com/user/snoyberg/general-haskell/exceptions/catching-all-exceptions