File Coverage

blib/lib/HTTP/Throwable/Role/Status/GatewayTimeout.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 2 0.0
total 12 14 85.7


line stmt bran cond sub pod time code
1             package HTTP::Throwable::Role::Status::GatewayTimeout 0.028;
2             our $AUTHORITY = 'cpan:STEVAN';
3              
4 1     1   693 use Moo::Role;
  1         2  
  1         8  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::BoringText',
9             );
10              
11 2     2 0 83 sub default_status_code { 504 }
12 2     2 0 7729 sub default_reason { 'Gateway Timeout' }
13              
14 1     1   404 no Moo::Role; 1;
  1         2  
  1         5  
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             HTTP::Throwable::Role::Status::GatewayTimeout - 504 Gateway Timeout
23              
24             =head1 VERSION
25              
26             version 0.028
27              
28             =head1 DESCRIPTION
29              
30             The server, while acting as a gateway or proxy, did not
31             receive a timely response from the upstream server specified
32             by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary
33             server (e.g. DNS) it needed to access in attempting to
34             complete the request.
35              
36             =head1 PERL VERSION
37              
38             This library should run on perls released even a long time ago. It should work
39             on any version of perl released in the last five years.
40              
41             Although it may work on older versions of perl, no guarantee is made that the
42             minimum required version will not be increased. The version may be increased
43             for any reason, and there is no promise that patches will be accepted to lower
44             the minimum required perl.
45              
46             =head1 AUTHORS
47              
48             =over 4
49              
50             =item *
51              
52             Stevan Little
53              
54             =item *
55              
56             Ricardo Signes
57              
58             =back
59              
60             =head1 COPYRIGHT AND LICENSE
61              
62             This software is copyright (c) 2011 by Infinity Interactive, Inc.
63              
64             This is free software; you can redistribute it and/or modify it under
65             the same terms as the Perl 5 programming language system itself.
66              
67             =cut
68              
69             __END__