File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,10 @@ Parses and runs the payload as sway commands
93
93
* REPLY* ++
94
94
An array of objects corresponding to each command that was parsed. Each object
95
95
has the property _ success_ , which is a boolean indicating whether the command
96
- was successful. The object may also contain the property _ error_ , which is a
97
- human readable error message.
96
+ was successful. The object may also contain the properties _ error_ and _ parse\_ error_ .
97
+ The _ error_ property is a human readable error message while _ parse\_ error_ is a
98
+ boolean indicating whether the reason the command failed was because the command
99
+ was unknown or not able to be parsed.
98
100
99
101
* Example Reply:*
100
102
```
@@ -104,6 +106,7 @@ human readable error message.
104
106
},
105
107
{
106
108
"success": false,
109
+ "parse_error": true,
107
110
"error": "Invalid/unknown command"
108
111
}
109
112
]
You can’t perform that action at this time.
0 commit comments