Skip to content

Commit 9c0ae4c

Browse files
committed
Js_exn -> Exn
1 parent 492015d commit 9c0ae4c

13 files changed

+28
-28
lines changed
File renamed without changes.
File renamed without changes.

packages/artifacts.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ lib/es6/Dom.js
8383
lib/es6/Dom_storage.js
8484
lib/es6/Dom_storage2.js
8585
lib/es6/Error.js
86+
lib/es6/Exn.js
8687
lib/es6/Float.js
8788
lib/es6/Float32Array.js
8889
lib/es6/Float64Array.js
@@ -114,7 +115,6 @@ lib/es6/Js_blob.js
114115
lib/es6/Js_console.js
115116
lib/es6/Js_date.js
116117
lib/es6/Js_dict.js
117-
lib/es6/Js_exn.js
118118
lib/es6/Js_extern.js
119119
lib/es6/Js_file.js
120120
lib/es6/Js_float.js
@@ -253,6 +253,7 @@ lib/js/Dom.js
253253
lib/js/Dom_storage.js
254254
lib/js/Dom_storage2.js
255255
lib/js/Error.js
256+
lib/js/Exn.js
256257
lib/js/Float.js
257258
lib/js/Float32Array.js
258259
lib/js/Float64Array.js
@@ -284,7 +285,6 @@ lib/js/Js_blob.js
284285
lib/js/Js_console.js
285286
lib/js/Js_date.js
286287
lib/js/Js_dict.js
287-
lib/js/Js_exn.js
288288
lib/js/Js_extern.js
289289
lib/js/Js_file.js
290290
lib/js/Js_float.js
@@ -687,6 +687,12 @@ lib/ocaml/Error.cmt
687687
lib/ocaml/Error.cmti
688688
lib/ocaml/Error.res
689689
lib/ocaml/Error.resi
690+
lib/ocaml/Exn.cmi
691+
lib/ocaml/Exn.cmj
692+
lib/ocaml/Exn.cmt
693+
lib/ocaml/Exn.cmti
694+
lib/ocaml/Exn.res
695+
lib/ocaml/Exn.resi
690696
lib/ocaml/Float.cmi
691697
lib/ocaml/Float.cmj
692698
lib/ocaml/Float.cmt
@@ -823,12 +829,6 @@ lib/ocaml/Js_dict.cmt
823829
lib/ocaml/Js_dict.cmti
824830
lib/ocaml/Js_dict.res
825831
lib/ocaml/Js_dict.resi
826-
lib/ocaml/Js_exn.cmi
827-
lib/ocaml/Js_exn.cmj
828-
lib/ocaml/Js_exn.cmt
829-
lib/ocaml/Js_exn.cmti
830-
lib/ocaml/Js_exn.res
831-
lib/ocaml/Js_exn.resi
832832
lib/ocaml/Js_extern.cmi
833833
lib/ocaml/Js_extern.cmj
834834
lib/ocaml/Js_extern.cmt
File renamed without changes.
File renamed without changes.

runtime/Js.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module Nullable = Js_null_undefined
8686
module Null_undefined = Js_null_undefined
8787

8888
/** Provide utilities for dealing with Js exceptions */
89-
module Exn = Js_exn
89+
module Exn = Exn
9090

9191
/** Provide bindings to JS array*/
9292
module Array = Js_array

runtime/Js_null.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ external getUnsafe: t<'a> => 'a = "%identity"
3636

3737
let getExn = f =>
3838
switch toOption(f) {
39-
| None => Js_exn.raiseError("Js.Null.getExn")
39+
| None => Exn.raiseError("Js.Null.getExn")
4040
| Some(x) => x
4141
}
4242

runtime/Js_option.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ If given `None`, it throws a `getExn` exception.
8686
*/
8787
let getExn = x =>
8888
switch x {
89-
| None => Js_exn.raiseError("getExn")
89+
| None => Exn.raiseError("getExn")
9090
| Some(x) => x
9191
}
9292

runtime/Js_undefined.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ external getUnsafe: t<'a> => 'a = "%identity"
3737

3838
let getExn = f =>
3939
switch toOption(f) {
40-
| None => Js_exn.raiseError("Js.Undefined.getExn")
40+
| None => Exn.raiseError("Js.Undefined.getExn")
4141
| Some(x) => x
4242
}
4343

tests/tests/src/custom_error_test.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/exception_raise_test.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/exception_value_test.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/tests/src/js_exception_catch_test.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)