Module Odoc_model__Error
val make : ?suggestion:string -> ('a, unit, string, Odoc_model.Location_.span -> t) Stdlib.format4 -> 'aval filename_only : string -> string -> tval to_string : t -> stringval raise_exception : t -> _val to_exception : ('a, t) Result.result -> 'aval catch : (unit -> 'a) -> ('a, t) Result.result
type 'a with_warnings={value : 'a;warnings : t list;}type warning_accumulator
val accumulate_warnings : (warning_accumulator -> 'a) -> 'a with_warningsval warning : warning_accumulator -> t -> unitval shed_warnings : 'a with_warnings -> 'aval set_warn_error : bool -> unitWhen set to
true,shed_warningswill raiseFailureif it had to print warnings.