interface ExitGuard

What armExitGuard hands back: the one way to say the work produced a result.

Methods

reported(code: number): void

The result is in — exit with this code, and stop treating an exit as unexplained.

Usage

import { type ExitGuard } from "lib/utils/exit-guard.ts";