43 lines
827 B
JavaScript
43 lines
827 B
JavaScript
'use strict';
|
|
|
|
|
|
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";
|
|
|
|
exports.$$Error = $$Error$1;
|
|
exports.raiseError = raiseError;
|
|
exports.raiseEvalError = raiseEvalError;
|
|
exports.raiseRangeError = raiseRangeError;
|
|
exports.raiseReferenceError = raiseReferenceError;
|
|
exports.raiseSyntaxError = raiseSyntaxError;
|
|
exports.raiseTypeError = raiseTypeError;
|
|
exports.raiseUriError = raiseUriError;
|
|
/* No side effect */
|