Catching all exceptions from within an enclosed computation


Version on this page:1.0.1
LTS Haskell 21.22:1.0.3
Stackage Nightly 2023-11-30: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