- Name: perl-HTTP-Exception
- Version: 0.40.70
- Release: 4.mga9
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: https://metacpan.org/release/HTTP-Exception
- Summary: Throw HTTP-Errors as Exceptions
- Architecture: noarch
- Size: 85932
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
Description:
Every HTTP::Exception is a L<Exception::Class> - Class. So the same
mechanisms apply as with L<Exception::Class>-classes. In fact have a look
at L<Exception::Class>' docs for more general information on exceptions and
L<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.
Don't bother checking a caught HTTP::Exception::...-class with "isa" as it
might not contain what you would expect. Use the code- or
status_message-attributes and the is_ -methods instead.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables
- Cookie: localhost 1647814945
- Buildhost: localhost