Skip to main content

report_startup_failure

Function report_startup_failure 

Source
pub fn report_startup_failure(
    app_name: &str,
    title: &str,
    detail: &str,
) -> ExitCode
Expand description

Writes title and detail to standard error and shows them in a window titled app_name until the person quits or closes it. Returns the failure exit code where the event loop returns (Linux and Windows); on macOS quitting ends the process from inside the loop, with exit code 0.