template::request::error (public)

 template::request::error [ args... ]

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

Manually report request error(s) by setting error messages and then calling is_valid to handle display. Useful for conditions not tied to a single query parameter. The arguments to the procedure may be any number of name-message combinations.

Partial Call Graph (max 5 caller/called nodes):
%3 template::adp_level template::adp_level (public) template::request::is_valid template::request::is_valid (public) template::request::error template::request::error template::request::error->template::adp_level template::request::error->template::request::is_valid

Testcases:
No testcase defined.
Source code:
    set level [template::adp_level]
    upvar #$level request:error requesterror
    foreach { name msg } $args {
        set requesterror($name$msg
    }

    is_valid
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: