File Coverage

blib/lib/Catalyst/Exception/Detach.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Catalyst::Exception::Detach;
2              
3 165     165   2193 use Moose;
  165         543  
  165         1221  
4 165     165   1100149 use namespace::clean -except => 'meta';
  165         467  
  165         1370  
5              
6             with 'Catalyst::Exception::Basic';
7              
8             has '+message' => (
9             default => "catalyst_detach\n",
10             );
11              
12             __PACKAGE__->meta->make_immutable;
13              
14             1;
15              
16             __END__
17              
18             =head1 NAME
19              
20             Catalyst::Exception::Detach - Exception for redispatching using $ctx->detach()
21              
22             =head1 DESCRIPTION
23              
24             This is the class for the Catalyst Exception which is thrown then you call
25             C<< $c->detach() >>.
26              
27             This class is not intended to be used directly by users.
28              
29             =head2 meta
30              
31             Provided by Moose
32              
33             =head1 SEE ALSO
34              
35             =over 4
36              
37             =item L<Catalyst>
38              
39             =item L<Catalyst::Exception>
40              
41             =back
42              
43             =head1 AUTHORS
44              
45             Catalyst Contributors, see Catalyst.pm
46              
47             =head1 COPYRIGHT
48              
49             This library is free software. You can redistribute it and/or modify
50             it under the same terms as Perl itself.
51              
52             =cut