Skip to content

installCrashHandler

installCrashHandler(options?): void

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/crashHandler.ts:175

Install the process-level crash handler (idempotent). Registers uncaughtException and unhandledRejection listeners that write a redacted snapshot and exit. Inert on a normal exit — no exit/beforeExit hook is registered, so a clean run behaves exactly as before.

InstallCrashHandlerOptions = {}

void