reportBootError
@tsed/cli
Usage
typescript
import { reportBootError } from "@tsed/cli/src/bin/reportBootError";Overview
ts
function reportBootError(error: unknown, commandName?: string): Promise<void>;Description
Report an error raised while the CLI is booting, before the injector (and therefore CliStats) exists.
This module must only depend on Node.js built-ins: it runs precisely when a dependency of the CLI cannot be loaded.