Skip to main content

try_resolve_hosted

Function try_resolve_hosted 

Source
pub fn try_resolve_hosted<'a>(
    baked: BootConfig<'a>,
) -> Result<ExecutorConfig<'a>, BootConfigError>
Expand description

Fallible resolve_hosted — returns BootConfigError instead of panicking, so the C / C++ FFI shims can surface a return code.

  • ROS_DOMAIN_ID set but non-numeric → DomainIdParse (the pre-#206 C++ header silently collapsed this to domain 0; the resolver silently ignored it — both were wrong).
  • any resolved domain id > DOMAIN_ID_MAXDomainIdRange, INCLUDING a baked one (the DDS backend would only fail later).