acs::cmd_error_contains (private)
acs::cmd_error_contains cmd subcommand
Defined in packages/acs-tcl/tcl/00-icanuse-procs.tcl
Helper proc abusing error messages to determine, whether the error message contains some string. This is a weeker form of cmd_has_subcommand.
- Parameters:
- cmd (required)
- subcommand (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: catch $cmd errorMsg return [string match *$subcommand* $errorMsg]XQL Not present: Generic, PostgreSQL, Oracle