ParseAndRunResult Enumeration

The result type of ToolRegistry.parseAndRun.

Members

Name Value Description
BadArgumentCount The number of arguments supplied does not meet the constraints of the Tool.

@see Tool.minArgs and Tool.maxArgs.
FailedToRun The tool's parseAndRun method returned false.
MismatchedQuotes An opening double-quote character was not paired with a closing double-quote character.
Success The tool's parseAndRun method was invoked and returned true.
ToolNotFound No tool matching the toolId in the keyin is registered.

Defined in

Last Updated: 28 March, 2024