[Dancer-users] Dynamic 404,500 error pages
ambs
ambs+dancer at perl-hackers.net
Tue Feb 22 22:20:11 CET 2011
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
:)
>
> my 2 euros
> dams
>
> On 22 February 2011 22:10, ambs<ambs+dancer at perl-hackers.net> wrote:
>> On 22/02/2011 21:00, Thomas Maier wrote:
>>>
>>> Hi all,
>>>
>>> Is it possible to use TT to build the content
>>> of the 404 and 500 error sites dynamically ?
>>
>> Well, if it isn't, we need to do it (in fact I think it isn't).
>>
>> Dear architect sukria, my suggestion would be:
>>
>> error_404 => sub { ... };
>>
>> or
>>
>> _404_ => sub { ... };
>>
>> Cheers :)
>> _______________________________________________
>> Dancer-users mailing list
>> Dancer-users at perldancer.org
>> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>>
More information about the Dancer-users
mailing list