Skip to main content

failure_body

Function failure_body 

Source
pub fn failure_body(code: &str) -> Option<&'static str>
Expand description

AgentFailure.code → the fixed body for its toast; None = don’t notify. Only agent_deleted (a user action) is skipped. killed is NOT a user Stop — those go through the controllers’ kill arm and are never classified (host_spawn.rs) — it means a signal/137, most often the OOM killer: exactly the “stopped while you were away” case (ReAgent P1 on #3654). Detail/stderr never reach a toast.