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§
- Backtrace
Frame - Represents a frame parsed from a stack backtrace.
- Crash
Args - Arguments for the crash handler dialog function.
- Crash
Config - Crash handler config.
- Crash
Error - Info about an app-process crash.
- Crash
Panic - Panic parsed from a
stderrdump.
Constants§
- NO_
CRASH_ HANDLER - Environment variable that causes the crash handler to not start if set.
Functions§
- remove_
ansi_ csi - Remove ANSI escape sequences (CSI) from
s. - restart_
count - Gets the number of crash restarts in the app-process.