Function turn_stop
pub fn turn_stop(err: &Error) -> Option<&TurnStop>
Expand description
Find the TurnStop an error carries, anywhere in its source chain.
Mirrors is_tool_loop_cancelled: walk chain() so a stop survives being
wrapped in anyhow context or attached to a foreign error by tag.