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;
2             our $AUTHORITY = 'cpan:STEVAN';
3             $HTTP::Throwable::Role::Status::BadRequest::VERSION = '0.026';
4 1     1   1481 use Moo::Role;
  1         17431  
  1         6  
5              
6             with(
7             'HTTP::Throwable',
8             'HTTP::Throwable::Role::BoringText',
9             );
10              
11 4     4 0 166 sub default_status_code { 400 }
12              
13 4     4 0 13823 sub default_reason { 'Bad Request' }
14              
15 1     1   348 no Moo::Role; 1;
  1         1  
  1         5  
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.026
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 AUTHORS
36              
37             =over 4
38              
39             =item *
40              
41             Stevan Little
42              
43             =item *
44              
45             Ricardo Signes
46              
47             =back
48              
49             =head1 COPYRIGHT AND LICENSE
50              
51             This software is copyright (c) 2011 by Infinity Interactive, Inc..
52              
53             This is free software; you can redistribute it and/or modify it under
54             the same terms as the Perl 5 programming language system itself.
55              
56             =cut
57              
58             __END__