SyntaxError |
Top Previous Next |
Message
SyntaxError: <report> [<timestamp>]
Originator
Server
Details
This will be generated in response to unrecognized and badly-formed commands.
Note that while most commands respond with Success or Failure on the immediate socket when their parameters are improperly given, unrecognized commands generate the usual 'SyntaxError: Unrecognized command' message. This allows failed commands to be distinguished from nonexistent commands via the immediate socket.
SDK Control
WhiskerSyntaxError fires (Visual Basic: calls Control_WhiskerSyntaxError Sub), with the ErrorMessage and Time parameters set to the appropriate values.
ClientLib
virtual CWhiskerTask::IncomingSyntaxError() is called – if your task overrides this function, the override will be called with the strMessage and lTime parameters set to the appropriate values.
Revision history
Implemented in WhiskerServer version 1.
Examples
SyntaxError: Unrecognized command SyntaxError: insufficient parameters to LineClaim SyntaxError: invalid parameters to DisplayCreateDevice
|