Function ros2_medkit_gateway::handlers::flatten_validator_errorļ
Defined in File handler_support.hpp
Function Documentationļ
-
inline ErrorInfo ros2_medkit_gateway::handlers::flatten_validator_error(const std::variant<ErrorInfo, http::Forwarded> &err)ļ
Collapse a
validate_entity_for_routevalidator error into a singleErrorInfo: the local-error branch passes through, while theForwardedbranch becomes the framework-internal sentinel that the RouteRegistry wrapper recognises and skips error rendering for. Shared by every typed handler (was duplicated per handler TU).