diff --git a/packages/@rescript/runtime/Stdlib_Error.resi b/packages/@rescript/runtime/Stdlib_Error.resi index 3abc756f86..86327ba713 100644 --- a/packages/@rescript/runtime/Stdlib_Error.resi +++ b/packages/@rescript/runtime/Stdlib_Error.resi @@ -3,6 +3,7 @@ Functions for working with JavaScript exceptions. See [`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) on MDN. */ +@@deprecated("Use `JsError` module") /** Represents a JavaScript exception. */ @deprecated({ diff --git a/packages/@rescript/runtime/Stdlib_Exn.resi b/packages/@rescript/runtime/Stdlib_Exn.resi index 5435507bc7..e82347c691 100644 --- a/packages/@rescript/runtime/Stdlib_Exn.resi +++ b/packages/@rescript/runtime/Stdlib_Exn.resi @@ -7,6 +7,7 @@ /*** Provide utilities for dealing with JS exceptions. */ +@@deprecated("Use `JsExn` module") /** Represents a JS exception */ @deprecated({