Skip to main content
ProcessReport.getReport - node__process.d.ts - Node documentation
method ProcessReport.getReport

Usage in Deno

```typescript import { type ProcessReport } from "node:node__process.d.ts"; ```
ProcessReport.getReport(err?: Error): object
Returns a JavaScript Object representation of a diagnostic report for the running process. The report's JavaScript stack trace is taken from `err`, if present.

Parameters

optional
err: Error

Return Type

object