5#include <nlohmann/json.hpp>
23 Response(
unsigned long long int id, std::string command,
24 nlohmann::json::object_t results, std::vector<std::string>
errors);
38 [[nodiscard]] std::vector<std::string>
errors()
const;
41 unsigned long long int id;
43 nlohmann::json::object_t results;
44 std::vector<std::string> icl_errors;
std::vector< std::string > errors() const
Errors, if any, from the ICL.
nlohmann::json json_results() const
JSON representation of the "results" field of the response.
Response(unsigned long long int id, std::string command, nlohmann::json::object_t results, std::vector< std::string > errors)
Builds a response of the ICL.