ns::ns_stats method syntaxErrors (protected)
<instance of ns::ns_stats> syntaxErrors args [ args... ]
Defined in /usr/local/ns/lib/nsf2.5.0/lib/nx-traits.tcl
NX qualifies the object name in generated usage. Present the public command name consistently with NaviServer's other Tcl commands.
- Parameters:
- args (required)
- Testcases:
- No testcase defined.
Source code: try { next } on error {message options} { # Parameterless NX ensemble methods report only the final selector. set method [lindex $args 0] set ensemble [current calledmethod] if {(($ensemble eq "sampling" && $method in {stop status}) || ($ensemble eq "history" && $method in {status disable storage})) && $message eq "wrong # args: should be \"$method\""} { set message "wrong # args: should be \"ns_stats $ensemble $method\"" } return -options $options [string map { {should be "::ns_stats } {should be "ns_stats } {should be: ::ns_stats } {should be: ns_stats } } $message] }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)