Commit | Line | Data |
10133e5b |
1 | package Catalyst::Exception::Detach; |
2 | |
3 | use Moose; |
4 | use namespace::clean -except => 'meta'; |
5 | |
ede5238f |
6 | with 'Catalyst::Exception::Basic'; |
10133e5b |
7 | |
8 | has '+message' => ( |
9 | default => "catalyst_detach\n", |
10 | ); |
11 | |
12 | __PACKAGE__->meta->make_immutable; |
13 | |
14 | 1; |
47a979b4 |
15 | |
16 | __END__ |
17 | |
18 | =head1 NAME |
19 | |
20 | Catalyst::Exception::Detach - Exception for redispatching using $ctx->detach() |
21 | |
b6c6af73 |
22 | =head1 DESCRIPTION |
23 | |
24 | This is the class for the Catalyst Exception which is thrown then you call |
6721bec6 |
25 | C<< $c->detach() >>. |
b6c6af73 |
26 | |
6721bec6 |
27 | This class is not intended to be used directly by users. |
b6c6af73 |
28 | |
29 | =head2 meta |
30 | |
31 | Provided by Moose |
32 | |
6721bec6 |
33 | =head1 SEE ALSO |
34 | |
35 | =over 4 |
36 | |
37 | =item L<Catalyst> |
38 | |
39 | =item L<Catalyst::Exception> |
40 | |
41 | =back |
42 | |
b6c6af73 |
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 | |
47a979b4 |
52 | =cut |