Skip to main content

exit_code_meaning

Function exit_code_meaning 

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

Translate a non-zero docker/podman exit code into a short human-readable hint. Returns None for codes without a well-known meaning so the UI can fall back to the bare number. Exit 0 has no entry because the detail panel only annotates failed exits. Sources: docker docs + Linux signal table.