DiagnosticReport
Defined in: diagnostics/events.ts:80
A problem as it is reported, before aggregation gives it a count.
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?:Record<string,unknown>
Defined in: diagnostics/events.ts:88
error?
Section titled “error?”
optionalerror?:unknown
Defined in: diagnostics/events.ts:87
An Error, or anything thrown — the stack is taken from it when there is
one. Strings and non-Errors are tolerated: throw 'nope' is legal JS and
is exactly the kind of code that ships.
kind:
DiagnosticKind
Defined in: diagnostics/events.ts:81
message
Section titled “message”message:
string
Defined in: diagnostics/events.ts:82
source?
Section titled “source?”
optionalsource?:string
Defined in: diagnostics/events.ts:83