Report

js.node.Report (extern class)

Instance Members

compact: Bool

If the reports are written in compact mode.


directory: String

The directory in which the reports are written.


filename: String

The file in which the reports are written.


reportOnFatalError: Bool

When the diagnostic report was generated in case of fatal errors.


reportOnSignal: Bool

If the diagnostic report was generated by receiving a signal.


reportOnUncaughtException: Bool

When the diagnostic report was generated in case of a uncaught exception.


signal: String

The signal that triggered the diagnostic report.


getReport(?err: js.lib.Error): Dynamic

Returns the diagnostic report as an object. Optionally from an error object.

Name Type Default
err js.lib.Error (optional)
Returns
Dynamic

writeReport(?filename: String, ?err: js.lib.Error): String

Writes a diagnostic report to a file.

Name Type Default
filename String (optional)
err js.lib.Error (optional)
Returns
String