Skip to main content

supervisor_failure

Function supervisor_failure 

Source
pub fn supervisor_failure(cmd: &SupervisorCommand, stderr: &[u8]) -> Error
Expand description

Turn a failed supervisor command into the error the user reads.

Split from the spawn so the message is tested: it names the command that failed, because “launchctl failed” with no argv is unactionable, and the argv is the part a user can retry by hand.