blob: a3ea5865758a2ebcc7c8de99c3e1b8d5b328c219 (
plain)
1
2
3
4
5
6
7
8
9
|
define(["require", "exports", "../constants/error_msgs"], function (require, exports, ERROR_MSGS) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isStackOverflowExeption(error) {
return (error instanceof RangeError ||
error.message === ERROR_MSGS.STACK_OVERFLOW);
}
exports.isStackOverflowExeption = isStackOverflowExeption;
});
|