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 (required)
- Author:
- Christian Brechbuehler
- Created:
- 13 Aug 2000
- Partial Call Graph (max 5 caller/called nodes):
- 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