Skip to main content

Module crash_handler

Module crash_handler 

Source
Expand description

App-process crash handler.

See the zng::app::crash_handler documentation for more details.

Macros§

crash_handler_config
Register a FnOnce(&mut CrashConfig) closure to be called on process init to configure the crash handler.

Structs§

CrashArgs
Arguments for the crash handler dialog function.
CrashConfig
Crash handler config.
CrashError
Info about an app-process crash.

Constants§

NO_CRASH_HANDLER
Environment variable that causes the crash handler to not start if set.

Functions§

restart_count
Gets the number of crash restarts in the app-process.