add optional object to be included in error message

This commit is contained in:
proddy
2024-07-26 13:25:19 +02:00
parent 51783ab7a1
commit 78a0fc2091

View File

@@ -143,7 +143,7 @@ class Command {
static std::vector<CmdFunction> cmdfunctions_; // the list of commands static std::vector<CmdFunction> cmdfunctions_; // the list of commands
static uint8_t json_message(uint8_t error_code, const char * message, const JsonObject output); static uint8_t json_message(uint8_t error_code, const char * message, JsonObject output, const char * object = nullptr);
}; };
class SUrlParser { class SUrlParser {