coq-lsp.lsp
Base.Response
Astdump_plugin
Example_plugin
Explain_errors
Goaldumpl_plugin
Savevo_plugin
Unidiff_plugin
coq-lsp.coq
coq-lsp.fleche
coq-lsp.lang
coq-lsp.petanque
coq-lsp.plugin
coq-lsp.request
coq-lsp.serlib
fleche_waterproof
petanque_json
petanque_shell
serlib_cc
serlib_extraction
serlib_firstorder
serlib_funind
serlib_ltac
serlib_ltac2
serlib_micromega
serlib_number_string_notation_plugin
serlib_ring
serlib_ssr
serlib_ssrmatching
serlib_tauto
serlib_zify
type t =
| Ok of {
id : int;
result : Yojson.Safe.t;
}
| Error of {
code : int;
message : string;
data : Yojson.Safe.t option;
val to_yojson : t -> Yojson.Safe.t
val mk_ok : id:int -> result:Yojson.Safe.t -> t
Answer to a request
val mk_error : id:int -> code:int -> message:string -> data:Yojson.Safe.t option -> t
Fail a request
val id : t -> int