Port details |
- p5-failures Minimalist exception hierarchy generator
- 0.004 devel
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2025-01-28 17:06:28
- Last Update: 2025-01-28 16:48:45
- Commit Hash: e860bee
- Also Listed In: perl5
- License: APACHE20
- WWW:
- https://metacpan.org/dist/failures
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-failures>0:devel/p5-failures
- To install the port:
- cd /usr/ports/devel/p5-failures/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-failures
- pkg install p5-failures
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-failures
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1736671125
SHA256 (failures-0.004.tar.gz) = fd2ca702402f22f5185b12942b5079bf95ad21cde3b97a7cf2e1919147463270
SIZE (failures-0.004.tar.gz) = 19646
No package information for this port in our database- Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Class-Tiny>=0 : devel/p5-Class-Tiny
- perl5>=5.36<5.37 : lang/perl5.36
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- p5-Class-Tiny>=0 : devel/p5-Class-Tiny
- perl5>=5.36<5.37 : lang/perl5.36
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-failures
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.004 28 Jan 2025 16:48:45 |
Po-Chuan Hsieh (sunpoet) |
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. |
Number of commits found: 1
|