nsmcp::ServerHistory method validate (public)
<instance of nsmcp::ServerHistory> validate arguments
Defined in /usr/local/ns/tcl/nsmcp/stats-tools.tcl
Validate runtime-history bounds and inspection mode. Decode the rooted JSON argument object and enforce this tool's option, range and combination constraints.
- Parameters:
- arguments (required)
- Rooted ns_json typed triples for the tool's JSON argument object.
- Returns:
- An empty result on success; invalid input raises RPC error -32602.
- Testcases:
- No testcase defined.
Source code: if {[catch { :options $arguments } message]} { return -code error -errorcode {NSMCP RPC -32602} $message }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)