[Catalyst] Exception::Class compatible with Catalyst+Moose?

seasprocket at gmail.com seasprocket at gmail.com
Thu Aug 12 04:40:07 GMT 2010

Writing my first app with a fully Moose'd catalyst, and I find that my
Exception classes (based on Exception::Class) aren't loading*. I see from
the docs that MooseX::Error::Exception::Class requires some metaclass magic
that I don't understand. Should this work?


* Specifically, perl cannot find the MyApp::Exception::SomeException classes
that Exception::Class magically creates. It throws:

Can't locate object method "throw" via package "MyApp::Exception::Login"
(perhaps you forgot to load "MyApp::Exception::Login"?)

-- =

Bikewise: http://www.bikewise.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100811/d979b=

More information about the Catalyst mailing list