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

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_return_exception_template ad_return_exception_template (test acs-templating) ad_return_exception_template ad_return_exception_template test_ad_return_exception_template->ad_return_exception_template ad_parse_template ad_parse_template (public) ad_return_exception_template->ad_parse_template ad_script_abort ad_script_abort (public) ad_return_exception_template->ad_script_abort ad_form ad_form (public) ad_form->ad_return_exception_template

Testcases:
ad_return_exception_template
Source code:
    ns_return $status text/html [ad_parse_template -params $params $template]
    ad_script_abort
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: