Skip to main content

effective_timeout_ms

Function effective_timeout_ms 

Source
pub fn effective_timeout_ms(
    local: Option<u64>,
    global: Option<u64>,
) -> Result<Option<TimeoutMs>, String>
Expand description

Merges local/global timeout and refines to crate::domain::TimeoutMs (G-TYPE-18).

ยงErrors

Returns domain error text when the effective value is out of range.