The generic responses from a command are OK on success, and either (error) or (error cmd status status_desc) on failure. However, many commands will generate responses that are specific to the command, including error messages that are specific to the command and error.
More complex error responses have the following syntax:
(error cmd_name error_code (time) error_text")
where:
The command interpreter itself will also generate error messages if the command could not be successfully invoked. These include:
(error "cmd_name ST_CMD_SYNTAX_ERROR (time) Command not found") (error "cmd_name ST_CMD_SYNTAX_ERROR (time) Bad parameter count: cmd_description") (error "cmd_name ST_CMD_SYNTAX_ERROR (time) Bad parameter count")
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.