package jenga

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

See api.mli for documentation.

module Loc : sig ... end
type t = {
  1. loc : Loc.t;
  2. message : string;
}
exception E of t
val create : loc:Loc.t -> string -> t
val create' : ?line:int -> ?start_col:int -> ?end_col:int -> source:Loc.Source.t -> string -> t
val raise : loc:Loc.t -> string -> _
val raisef : loc:Loc.t -> ('a, unit, string, unit -> _) format4 -> 'a
val to_lines : t -> dir:Path.Rel.t -> string list