The purpose of this module is to allow you to capture all exceptions originating from within the enclosed computation, while still reacting to asynchronous exceptions aimed at the calling thread. This way, you can be sure that the function that calls, for example, catchAny, will still respond to ThreadKilled or Timeout events raised by another thread (with throwTo), while capturing all exceptions, synchronous or asynchronous, resulting from the execution of the enclosed computation. One particular use case is to allow the safe execution of code from various libraries (which you do not control), capturing any faults that might occur, while remaining responsive to higher level events and control actions.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 10.0 | aarch64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 10.0 | aarch64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 10.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 10.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 10.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 10.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 9.0 | aarch64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 9.0 | aarch64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 9.0 | aarch64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 9.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 9.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 9.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb3.tgz |
NetBSD 9.0 | x86_64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 9.3 | x86_64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
NetBSD 9.3 | x86_64 | hs-enclosed-exceptions-1.0.3nb4.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.