aboutsummaryrefslogblamecommitdiff
path: root/www/p5-HTTP-Throwable/pkg-descr
blob: 4bf74828b1e75f6b9773ff8846068eb40295a7c1 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                
HTTP::Throwable provides a set of strongly-typed, PSGI-friendly exception
implementations corresponding to the HTTP error status code (4xx-5xx) as well as
the redirection codes (3xx).

This particular package (HTTP::Throwable) is the shared role for all the
exceptions involved. It's not intended that you use HTTP::Throwable directly,
although you can, and instructions for using it correctly are given below.
Instead, you probably want to use HTTP::Throwable::Factory, which will assemble
exception classes from roles needed to build an exception for your use case.