Forum OpenACS Q&A: Re: RFC: How to improve error handling and messages for users

Also I found this:

ad_raise exception [ value ] in packages/acs-tcl/tcl/exception-procs.tcl

return -code error -errorcode [list "AD" "EXCEPTION" $exception] $value