Skip to content

Commit

Permalink
docs: add in schema for the new errorReports field in Doctor
Browse files Browse the repository at this point in the history
  • Loading branch information
ckipp01 committed Oct 25, 2023
1 parent 13e8ed1 commit e8f9cf7
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ object ClientCommands {
| messages?: DoctorRecommendation[];
| /** Explanations for the various statuses present in the doctor */
| explanations?: DoctorExplanation[];
| /** Error reports reported from Metals */
| errorReports: ErrorReportInfo[];
|}
|```
|```json
Expand Down Expand Up @@ -130,6 +132,22 @@ object ClientCommands {
| recommendations: string[]
|}
|```
|```json
|export interface ErrorReportInfo {
| /** Display name of the error */
| name: string;
| /** Timestamp of the report creation date */
| timestamp: number;
| /** Error report file uri */
| uri: string;
| /** Build target that the error is associated with */
| buildTarget?: string;
| /** Short error summary */
| shortSummary: string;
| /** The type of error -- This can be metals, metals-full, or bloop currently */
| errorReportType: string;
|}
|```
|""".stripMargin,
arguments =
"""`string`, the HTML to display in the focused window.""".stripMargin,
Expand Down

0 comments on commit e8f9cf7

Please sign in to comment.