www/p5-HTTP-Exception 0.04007 DragonFly
Perl extension to throw HTTP-Errors as (Exception::Class-) Exceptions
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, www
- Package size
- 27.2 KiB, 55.1 KiB installed
Description
Every HTTP::Exception is a Exception::Class - Class. So the same mechanisms apply as with Exception::Class-classes. In fact have a look at Exception::Class' docs for more general information on exceptions and Exception::Class::Base for information on what methods a caught exception also has.
HTTP::Exception is only a factory for HTTP::Exception::XXX (where X is a number) subclasses. That means that HTTP::Exception->new(404) returns a HTTP::Exception::404 object, which in turn is a HTTP::Exception::Base - Object.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | www/p5-HTTP-Exception | 0.04007 |
| FreeBSD | www/p5-HTTP-Exception | 0.04007 |
| NetBSD | wip/p5-HTTP-Exception | 0.04007 |
| HardenedBSD | www/p5-HTTP-Exception | 0.04007 |
| GhostBSD | www/p5-HTTP-Exception | 0.04007 |
Install
Binary package:
pkg install p5-HTTP-Exception
From DPorts:
cd /usr/dports/www/p5-HTTP-Exception && make install clean