File Coverage

blib/lib/HTTP/Throwable/Role/Status/BadRequest.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::BadRequest 0.028;
2             our $AUTHORITY = 'cpan:STEVAN';
3              
4 1     1   1196 use Moo::Role;
  1         14359  
  1         7  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::BoringText',
9             );
10              
11 4     4 0 167 sub default_status_code { 400 }
12              
13 4     4 0 15463 sub default_reason { 'Bad Request' }
14              
15 1     1   431 no Moo::Role; 1;
  1         2  
  1         3  
16              
17             =pod
18              
19             =encoding UTF-8
20              
21             =head1 NAME
22              
23             HTTP::Throwable::Role::Status::BadRequest - 400 Bad Request
24              
25             =head1 VERSION
26              
27             version 0.028
28              
29             =head1 DESCRIPTION
30              
31             The request could not be understood by the server due to
32             malformed syntax. The client SHOULD NOT repeat the request
33             without modifications.
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__