ad_return_exception_template (public)

 ad_return_exception_template [ -status status ] [ -params params ] \
    template

Defined in packages/acs-templating/tcl/acs-integration-procs.tcl

Return an exception template and abort the current script.

Switches:
-status (optional, defaults to "500")
The HTTP status to return, by default HTTP 500 (Error)
-params (optional)
The parameters to pass to the template.
Parameters:
template (required)
The template filename. Example: ad_return_exception_template -params {errmsg {custom_message "My Message"}} some-template

Testcases:
ad_return_exception_template
[ show source ]
Show another procedure: