time-to-botec/squiggle/node_modules/@rescript/std/lib/es6/js_exn.js
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

45 lines
663 B
JavaScript

function raiseError(str) {
throw new Error(str);
}
function raiseEvalError(str) {
throw new EvalError(str);
}
function raiseRangeError(str) {
throw new RangeError(str);
}
function raiseReferenceError(str) {
throw new ReferenceError(str);
}
function raiseSyntaxError(str) {
throw new SyntaxError(str);
}
function raiseTypeError(str) {
throw new TypeError(str);
}
function raiseUriError(str) {
throw new URIError(str);
}
var $$Error$1 = "JsError";
export {
$$Error$1 as $$Error,
raiseError ,
raiseEvalError ,
raiseRangeError ,
raiseReferenceError ,
raiseSyntaxError ,
raiseTypeError ,
raiseUriError ,
}
/* No side effect */