add report line

This commit is contained in:
Ben Irvin 2023-06-28 14:22:28 +02:00
parent 1c922b0ec3
commit 5bbab16e3c

View File

@ -230,6 +230,8 @@ const event: ErrorDiagnostic = {
severity: 'fatal',
error: new Error("my error")
}
engine.diagnostics.report(event);
```
Here is an excerpt of the relevant types used in the previous examples: