summaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Exception/pkg-descr
blob: fe1692ca4a23083073d96dc7b26865bf24082c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.

WWW: https://metacpan.org/release/HTTP-Exception