package Catalyst::Exception::Go;

use Moose;
use namespace::clean -except => 'meta';

with 'Catalyst::Exception::Basic';

has '+message' => (
    default => "catalyst_go\n",
);

__PACKAGE__->meta->make_immutable;

1;

__END__

=head1 NAME

Catalyst::Exception::Go - Exception for redispatching using $ctx->go()

=head1 SYNOPSIS

   Do not use this class directly, instead you should use the singleton instance
   found in $Catalyst::GO;

   E.g. die $Catalyst::GO;

See also L<Catalyst> and L<Catalyst::Exception>.

=head1 DESCRIPTION

This is the class for the Catalyst Exception which is thrown then you call
C<< $c->go() >>. There should be a singleton instance of this class in the
C<< $Catalyst::DETACH >> global variable.

Users should never need to know or care about this exception, please just use
C<< $c->detach >>

=head2 meta

Provided by Moose

=head1 AUTHORS

Catalyst Contributors, see Catalyst.pm

=head1 COPYRIGHT

This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.

=cut
