Add send_command variant that exposes error details

This commit is contained in:
2025-01-03 22:29:07 +01:00
parent a7ae06060a
commit 06abdd693e
2 changed files with 16 additions and 2 deletions

View File

@@ -287,6 +287,8 @@ public:
*/
bool send_command(const std::string& command) const;
bool send_command(const std::string& command, std::optional<std::string>& error_info) const;
/**
* Request a list of workspaces
* @return List of workspaces