[Dancer-users] Can't locate object method "new" via package "Dancer::Exception::Core::Request"

Puneet Kishor punk.kish at gmail.com
Fri Feb 24 22:31:43 CET 2012


I added a `debug` to my app and now I am getting the following with the latest version of Dancer

Can't locate object method "new" via package "Dancer::Exception::Core::Request" (perhaps you forgot to load "Dancer::Exception::Core::Request"?) at /opt/local/lib/perl5/site_perl/5.14.1/Dancer/Exception.pm line 64.

/opt/local/lib/perl5/site_perl/5.14.1/Dancer/Exception.pm around line 64
61   $exception = $exception_name->new(@_);
62 } else {
63     _camelize($exception_name);
64     $exception = "Dancer::Exception::$exception_name"->new(@_);
65 }
66 $exception->throw();


Any idea why?



--
Puneet Kishor 


More information about the Dancer-users mailing list