48f90aaee2f99189929ca1c176e906961f54cbca
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Exception / Go.pm
1 package Catalyst::Exception::Go;
2
3 use Moose;
4 use namespace::clean -except => 'meta';
5
6 with 'Catalyst::Exception::Basic';
7
8 has '+message' => (
9     default => "catalyst_go\n",
10 );
11
12 __PACKAGE__->meta->make_immutable;
13
14 1;
15
16 __END__
17
18 =head1 NAME
19
20 Catalyst::Exception::Go - Exception for redispatching using $ctx->go()
21
22 =head1 SYNOPSIS
23
24    Do not use this class directly, instead you should use the singleton instance
25    found in $Catalyst::GO;
26
27    E.g. die $Catalyst::GO;
28
29 See also L<Catalyst> and L<Catalyst::Exception>.
30
31 =head1 DESCRIPTION
32
33 This is the class for the Catalyst Exception which is thrown then you call
34 C<< $c->go() >>. There should be a singleton instance of this class in the
35 C<< $Catalyst::DETACH >> global variable.
36
37 Users should never need to know or care about this exception, please just use
38 C<< $c->detach >>
39
40 =head2 meta
41
42 Provided by Moose
43
44 =head1 AUTHORS
45
46 Catalyst Contributors, see Catalyst.pm
47
48 =head1 COPYRIGHT
49
50 This library is free software. You can redistribute it and/or modify
51 it under the same terms as Perl itself.
52
53 =cut