[Dancer-users] Dynamic 404,500 error pages
franck
franck at lumberjaph.net
Wed Feb 23 09:08:57 CET 2011
On Tue, Feb 22, 2011 at 10:20 PM, ambs <ambs+dancer at perl-hackers.net> wrote:
> On 22/02/2011 21:18, damien krotkine wrote:
>
>> May I kindly suggest on_404 ?
>> _404_ or error_404 could be understood as "send a special 404"
>>
>
> or yet, config.yml FTW:
>
> error_handlers:
> 404: on_not_found
> 500: oops_500
>
> :)
>
>
shouldn't be hard to do this with a plugin (now: who will write the plugin ?
:)
--
franck cuny
http://lumberjaph.net - http://github.com/franckcuny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110223/c616ea2b/attachment.htm>
More information about the Dancer-users
mailing list