File Coverage

blib/lib/HTTP/Throwable/Role/Status/RequestTimeout.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::RequestTimeout 0.028;
2             our $AUTHORITY = 'cpan:STEVAN';
3              
4 1     1   719 use Moo::Role;
  1         3  
  1         8  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::BoringText',
9             );
10              
11 2     2 0 85 sub default_status_code { 408 }
12 2     2 0 7710 sub default_reason { 'Request Timeout' }
13              
14 1     1   410 no Moo::Role; 1;
  1         3  
  1         5  
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             HTTP::Throwable::Role::Status::RequestTimeout - 408 Request Timeout
23              
24             =head1 VERSION
25              
26             version 0.028
27              
28             =head1 DESCRIPTION
29              
30             The client did not produce a request within the
31             time that the server was prepared to wait. The
32             client MAY repeat the request without modifications
33             at any later time.
34              
35             =head1 PERL VERSION
36              
37             This library should run on perls released even a long time ago. It should work
38             on any version of perl released in the last five years.
39              
40             Although it may work on older versions of perl, no guarantee is made that the
41             minimum required version will not be increased. The version may be increased
42             for any reason, and there is no promise that patches will be accepted to lower
43             the minimum required perl.
44              
45             =head1 AUTHORS
46              
47             =over 4
48              
49             =item *
50              
51             Stevan Little
52              
53             =item *
54              
55             Ricardo Signes
56              
57             =back
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2011 by Infinity Interactive, Inc.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut
67              
68             __END__