Function ros2_medkit_gateway::handlers::make_errorļ
Defined in File handler_support.hpp
Function Documentationļ
-
inline ErrorInfo ros2_medkit_gateway::handlers::make_error(int status, const std::string &code, std::string message, nlohmann::json params = {})ļ
Build a SOVD-shaped ErrorInfo. Empty
paramsare dropped so the wire body matches the legacysend_errordefault and integration tests stay byte- identical. Shared by every typed handler (was duplicated per handler TU).