File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ external makeError : string -> error = "Error" [@@bs.new]
45
45
external isCamlExceptionOrOpenVariant :
46
46
'a -> bool = " caml_is_extension"
47
47
48
- let unsafeAnyToExn obj =
48
+ let anyToExnInternal obj =
49
49
if isCamlExceptionOrOpenVariant obj then
50
50
(Obj. magic obj : exn )
51
51
else
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ external isCamlExceptionOrOpenVariant:
43
43
'a -> bool = " caml_is_extension"
44
44
(* * internal use only *)
45
45
46
- val unsafeAnyToExn : 'a -> exn
46
+ val anyToExnInternal : 'a -> exn
47
47
(* * [unsafeAnyToExn obj] will take any value [obj] and wrap it
48
48
* in a Js.Exn.Error if given value is not an exn already. If
49
49
* [obj] is an exn, it will return [obj] without any changes.
You can’t perform that action at this time.
0 commit comments