Module Vscode.Diagnostic

include Interop.Js.T
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type code_target = {
  1. value : [ `String of string | `Int of int ];
  2. target : Uri.t;
}
type code = [
  1. | `String of string
  2. | `Int of int
  3. | `Targeted of code_target
]
val message : t -> string
val range : t -> Range.t
val severity : t -> DiagnosticSeverity.t
val source : t -> string option
val code : t -> code option
val relatedInformation : t -> DiagnosticRelatedInformation.t list option
val tags : t -> DiagnosticTag.t list option
val make : ?severity:DiagnosticSeverity.t -> message:string -> Range.t -> t