X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=trunk%2Ft%2Flib%2FTestApp%2FController%2FEngine%2FResponse%2FErrors.pm;fp=trunk%2Ft%2Flib%2FTestApp%2FController%2FEngine%2FResponse%2FErrors.pm;h=562997e823f42726a056354aa51d52440c0d4d5f;hb=e28a6876ad3e11890226e5bab6df4b0725e0981e;hp=0000000000000000000000000000000000000000;hpb=21c94d83082b43028cafcfb18659090b13d832fa;p=catagits%2FCatalyst-Runtime.git diff --git a/trunk/t/lib/TestApp/Controller/Engine/Response/Errors.pm b/trunk/t/lib/TestApp/Controller/Engine/Response/Errors.pm new file mode 100644 index 0000000..562997e --- /dev/null +++ b/trunk/t/lib/TestApp/Controller/Engine/Response/Errors.pm @@ -0,0 +1,23 @@ +package TestApp::Controller::Engine::Response::Errors; + +use strict; +use base 'Catalyst::Controller'; + +sub one : Relative { + my ( $self, $c ) = @_; + my $a = 0; + my $b = 0; + my $t = $a / $b; +} + +sub two : Relative { + my ( $self, $c ) = @_; + $c->forward('/non/existing/path'); +} + +sub three : Relative { + my ( $self, $c ) = @_; + die("I'm going to die!\n"); +} + +1;