Report
js.node.Report (extern class)
Instance Members
compact: BoolIf the reports are written in compact mode.
directory: StringThe directory in which the reports are written.
filename: StringThe file in which the reports are written.
reportOnFatalError: BoolWhen the diagnostic report was generated in case of fatal errors.
reportOnSignal: BoolIf the diagnostic report was generated by receiving a signal.
reportOnUncaughtException: BoolWhen the diagnostic report was generated in case of a uncaught exception.
signal: StringThe signal that triggered the diagnostic report.
getReport(?err: js.lib.Error): DynamicReturns 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): StringWrites a diagnostic report to a file.
| Name | Type | Default |
|---|---|---|
filename |
String | (optional) |
err |
js.lib.Error | (optional) |
| Returns |
|---|
| String |