Skip to main content

analysis_overrun_fallback

Function analysis_overrun_fallback 

Source
pub fn analysis_overrun_fallback(budget: Duration) -> String
Expand description

The fallback detail for an analysis overrun that has no measurement to quote.

One function rather than a string written at each of the three sites that need it — the provider’s begin_run and failure, and the engine’s provider_for — because the engine’s RunError carries a rendered message and nothing else, so three spellings of one refusal would be three different pieces of advice for one fault.

Reached only when a request reported a timeout while the accumulator still reads short of the budget: a request handed the last microsecond of it can outlive that microsecond without the sum passing the total.