[Catalyst-dev] A suggestion(or question) about exception handling.

Chae Lee yuand2 at gmail.com
Thu Jul 24 09:32:12 BST 2008


> Putting:
>
> BEGIN { $Catalyst::Exception::CATALYST_EXCEPTION_CLASS =3D 'Error'; }
>
> in MyApp.pm should do what you want, shouldn't it?


right after I looked at the source code(Catalyst::Exception), I thought the
way above. Before trying some code, I wanted to see examples in Catalyst
core and core modules, but I couldn't find.

Error and exception handling is the most fundamental part of a system, here
Catalyst framework, so it MUST be guaranteed. I'd like to use the way above
only if the core uses the way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20080724/5=
89a579b/attachment.htm


More information about the Catalyst-dev mailing list