1 package Catalyst::Exception::Detach;
4 use namespace::clean -except => 'meta';
6 with 'Catalyst::Exception::Basic';
9 default => "catalyst_detach\n",
12 __PACKAGE__->meta->make_immutable;
20 Catalyst::Exception::Detach - Exception for redispatching using $ctx->detach()
24 Do not use this class directly, instead you should use the singleton instance
25 found in $Catalyst::DETACH;
27 E.g. die $Catalyst::DETACH
29 See also L<Catalyst> and L<Catalyst::Exception>.
33 This is the class for the Catalyst Exception which is thrown then you call
34 C<< $c->detach() >>. There should be a singleton instance of this class in the
35 C<< $Catalyst::DETACH >> global variable.
37 Users should never need to know or care about this exception, please just use
46 Catalyst Contributors, see Catalyst.pm
50 This library is free software. You can redistribute it and/or modify
51 it under the same terms as Perl itself.