summaryrefslogtreecommitdiff
path: root/src/node_modules/inversify/lib/utils/exceptions.js
blob: 2e2336646645a47e63b7aaffb1b869180591a6b4 (plain)
1
2
3
4
5
6
7
8
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ERROR_MSGS = require("../constants/error_msgs");
function isStackOverflowExeption(error) {
    return (error instanceof RangeError ||
        error.message === ERROR_MSGS.STACK_OVERFLOW);
}
exports.isStackOverflowExeption = isStackOverflowExeption;