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