[Catalyst] "or die" replacement?

A. Pagaltzis pagaltzis at gmx.de
Fri Mar 17 02:24:50 CET 2006


* apv <apv at sedition.com> [2006-03-16 20:10]:
>And giving a pretty site formatted error page and providing the
>error chain if debug is on, otherwise just giving the general
>http status info: "404: resource not found" etc.

You want generally want 500, unless the resource does actually
not exist. 4xx statuses are things which are the client’s fault;
things which the server’s fault in some way are signalled using
5xx.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list