devel/p5-failures: Add p5-failures 0.004 This module lets you define an exception hierarchy quickly and simply. Here were my design goals: - minimalist interface - 80% of features in 20% of lines of code - depend only on core modules (nearly achieved) - support hierarchical error types - identify errors types by name (class) not by parsing strings - leave (possibly expensive) trace decisions to the thrower Currently, failures is implemented in under 70 lines of code. Failure objects are implemented with Class::Tiny to allow easy subclassing (see custom::failures), but Class::Tiny only requires core modules, so other than that exception, the 'core only' goal is achieved.e860bee508
Port details
devel/p5-failures 0.004
Minimalist exception hierarchy generator
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 0.004
- Upstream
- up to date
- Last update
- to 0.004 · e860bee508
- Quarterly
- 2026Q4: 0.004
- WWW
- https://metacpan.org/dist/failures
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install p5-failuresinstalls 0.004 fromlatest; fromquarterly(2026Q4) 0.004- Port
# cd /usr/ports/devel/p5-failures && make install clean- Size
- 17 KiB download · 33 KiB installed
- Depends on
- devel/p5-Class-Tiny 1.008, lang/perl5.42 5.42.3
- License
- APACHE20
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 0.004 | 0.004 | – |
| FreeBSD 15 | 0.004 | 0.004 | – |
| FreeBSD 14 | 0.004 | 0.004 | 0.004 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 0.004 | 0.004 | – |
| FreeBSD 14 | 0.004 | 0.004 | 0.004 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 0.004.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.