You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a new `SyntaxError` with the provided `message`.
118
111
119
112
See [`SyntaxError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError) on MDN.
120
113
*/
121
-
@new
122
-
externalmake: string=>t="SyntaxError"
123
-
}
124
-
moduleTypeError: {
125
-
/**
114
+
@new
115
+
externalmakeSyntaxError: string=>t="SyntaxError"
116
+
/**
126
117
Creates a new `TypeError` with the provided `message`.
127
118
128
119
See [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) on MDN.
129
120
*/
130
-
@new
131
-
externalmake: string=>t="TypeError"
132
-
}
133
-
moduleURIError: {
134
-
/**
121
+
@new
122
+
externalmakeTypeError: string=>t="TypeError"
123
+
/**
135
124
Creates a new `URIError` with the provided `message`.
136
125
137
126
See [`URIError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError) on MDN.
138
127
*/
139
-
@new
140
-
externalmake: string=>t="URIError"
141
-
}
128
+
@new
129
+
externalmakeURIError: string=>t="URIError"
142
130
143
131
/**
144
-
Raises (throws in JavaScript language) the provided `Error.t`, which will stop execution.
132
+
Raises (throws in JavaScript language) the provided `Error.t`, which will stop execution. See [Exceptions in ReScript](https://rescript-lang.org/docs/manual/latest/exception)
0 commit comments