Gillian_result.Error
type analysis_failure = {
msg : string;
loc : Location.t option;
is_preprocessing : bool;
in_target : string option;
}
val analysis_failure_to_yojson : analysis_failure -> Yojson.Safe.t
val analysis_failure_of_yojson :
Yojson.Safe.t ->
analysis_failure Ppx_deriving_yojson_runtime.error_or
type compilation_error = {
msg : string;
loc : Location.t option;
additional_data : Yojson.Safe.t option;
}
val compilation_error_to_yojson : compilation_error -> Yojson.Safe.t
val compilation_error_of_yojson :
Yojson.Safe.t ->
compilation_error Ppx_deriving_yojson_runtime.error_or
val internal_error_to_yojson : internal_error -> Yojson.Safe.t
val internal_error_of_yojson :
Yojson.Safe.t ->
internal_error Ppx_deriving_yojson_runtime.error_or
type t =
| AnalysisFailures of analysis_failure list
| CompilationError of compilation_error
| OperationError of string
Handled failure unrelated to analysis, e.g. unable to read input file
*)| InternalError of internal_error
Something went very wrong!
*)val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val make_analysis_failure :
?is_preprocessing:bool ->
?in_target:string ->
?loc:Location.t ->
string ->
analysis_failure
val make_analysis_failures :
?is_preprocessing:bool ->
?in_target:string ->
?loc:Location.t ->
string ->
t
val pp' : ?brief:bool -> Stdlib.Format.formatter -> t -> unit
val show' : ?brief:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val pp_brief : Stdlib.Format.formatter -> t -> unit
val show_brief : t -> string
val to_error_code : t -> int