The Diagnostic object
A Diagnostic is one finding from checking a script's code. Validate a script returns them, and they come beside every 422 script_invalid from Create a script, Save a script version and Create a run.
Fields
Field | Type | Description |
|---|---|---|
| string |
|
| string | The rule or stage, such as |
| string | What is wrong |
| string | The file. Left out when not known |
| integer | The line. Left out when not known |
| string | The setting the finding is about. Left out when there is none |
Lint and error codes explains each rule.
