sukria/Dancer — Issue #738: params( $str ) fails on Dancer::Exception::Core::Request
Author: damog
Created: 2012-01-30 21:01:00+00:00
State: open

This was a typo on my part, trying to use ```params('foo')``` instead of ```param('foo')``` and the very enigmatic error message is returned: 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.12.3/Dancer/Exception.pm line 63.

I think that a more descriptive error shoiuld be returned or just make params also an object that can access parameters.

This was on 1.3091 with Perl 5.12.3.