4 Feb
2004
4 Feb
'04
9:12 p.m.
Steve McMahon wrote at 2004-2-3 10:30 -0800:
Is there an accepted idiom for raising an exception via tal? Or, do I need to script that?
You must use a script.
What I'm trying to do is raise a NotFound exception under certain conditions.
You may set the response's status code "request.RESPONSE.setStatus(404)". Note however, that this does not abort the transaction and does not call the error page. -- Dieter