Protocol method · diag
diag.report
Push diagnostics from another process (player, import worker) onto this host's bus.
- Scope:
read - Service:
diag
Params
| Param | Required | Description |
|---|---|---|
session | yes | Session handle from session.begin; its author is the diagnostics' origin unless the reporter is the engine (engine: true). |
diagnostics | yes | Diagnostics as JSON ({code, severity, message, location?, subjects?, fixes?, data?}), each optionally with causedBy: the index of an earlier diagnostic in this batch that caused it. |
tick | Simulation tick they happened on. | |
engine | The reporter is an engine process (player, import worker), not the session's author. |