package ocaml-webworker

  1. Overview
  2. Docs
val errors : (exn list Pervasives.ref * unit Btype.TypeHash.t) option Pervasives.ref
val monitor_errors' : bool Pervasives.ref Pervasives.ref
val monitor_errors : unit -> bool Pervasives.ref
val raise_error : ?ignore_unify:bool -> exn -> unit
exception Resume
val resume_raise : exn -> 'a
val catch_errors : Warnings.state -> exn list Pervasives.ref -> (unit -> 'a) -> 'a
val uncatch_errors : (unit -> 'a) -> 'a
val erroneous_type_register : Btype.TypeHash.key -> unit
val erroneous_type_check : Btype.TypeHash.key -> bool
val erroneous_expr_check : Typedtree.expression -> bool
val erroneous_patt_check : Typedtree.pattern -> bool
exception Warning of Location.t * string
val prerr_warning : Location.t -> Warnings.t -> unit
val flush_saved_types : unit -> (string Location.loc * Parsetree.payload) list
val get_saved_types_from_attributes : (string Location.loc * Parsetree.payload) list -> Cmt_format.binary_part list
val with_warning_attribute : ?warning_attribute:(string Asttypes.loc * Parsetree.payload) list -> (unit -> 'a) -> 'a
val with_saved_types : ?warning_attribute:(string Asttypes.loc * Parsetree.payload) list -> ?save_part:('a -> Cmt_format.binary_part) -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.