Return Values
This section describes error or status values and JSON data elements returned by ttGridAdmin
commands.
Error and Status Return Codes
ttGridAdmin
commands returns error codes to note success or failure, including these general codes:
Code | Description |
---|---|
0 |
Success |
255 |
Internal error |
254 |
Syntax error |
JSON Data Elements Returned
When JSON output is specified, the stdout
of the command includes at least these name/value pairs. (Refer to http://www.json.org/
for general information about JSON output.)
Return | Type | Description |
---|---|---|
"status" |
number |
Return code See the preceding section, "Error and Status Return Codes". |
"errno" |
number |
Error number, if an error occurred |
"errmsg" |
string |
Error message, if an error occurred |
Note:
Additional, command-specific JSON data elements may also be returned.