Module Caml_js_exceptions

type t =
  1. | Any('a) : t
;
exception Error(t);
let internalToOCamlException: Bs_stdlib_mini.Obj.t => exn;

This function has to be in this module Since Error is defined here

let caml_as_js_exn: exn => option(t);