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§
- Crash
Args - Arguments for the crash handler dialog function.
- Crash
Config - Crash handler config.
- Crash
Error - 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.