ProcessReport.getReport - Node documentation
method ProcessReport.getReport

Usage in Deno

import { type ProcessReport } from "node:process";
ProcessReport.getReport(err?: Error): string

Returns a JSON-formatted diagnostic report for the running process. The report's JavaScript stack trace is taken from err, if present.

Parameters

optional
err: Error

Return Type

string