ad_page_contract_handle_datasource_error (public)

 ad_page_contract_handle_datasource_error error

Defined in packages/acs-tcl/tcl/tcl-documentation-procs.tcl

Output a diagnostic page. Treats both special and generic error messages.

Parameters:
error
Author:
Christian Brechbuehler
Created:
13 Aug 2000

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bug-tracker/www/index.tcl packages/bug-tracker/ www/index.tcl ad_page_contract_handle_datasource_error ad_page_contract_handle_datasource_error packages/bug-tracker/www/index.tcl->ad_page_contract_handle_datasource_error packages/forums/lib/search/search-chunk.tcl packages/forums/ lib/search/search-chunk.tcl packages/forums/lib/search/search-chunk.tcl->ad_page_contract_handle_datasource_error security::csrf::fail security::csrf::fail (private) security::csrf::fail->ad_page_contract_handle_datasource_error template::list::orderby_clause template::list::orderby_clause (public) template::list::orderby_clause->ad_page_contract_handle_datasource_error template::list::prepare template::list::prepare (public) template::list::prepare->ad_page_contract_handle_datasource_error ad_parse_template ad_parse_template (public) ad_page_contract_handle_datasource_error->ad_parse_template parameter::get_from_package_key parameter::get_from_package_key (public) ad_page_contract_handle_datasource_error->parameter::get_from_package_key util::get_referrer util::get_referrer (public) ad_page_contract_handle_datasource_error->util::get_referrer

Testcases:
No testcase defined.
Source code:
    set complaint_template [parameter::get_from_package_key  -package_key "acs-tcl"  -parameter "ReturnComplaint"  -default "/packages/acs-tcl/lib/ad-return-complaint"]
    set exception_count 1
    set exception_text $error
    ns_return 422 text/html [ad_parse_template  -params [list [list exception_count $exception_count]  [list exception_text $exception_text]  [list prev_url [util::get_referrer -trusted]]  ]  $complaint_template]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: