Code coverage report for cjs/util/tryOrThrowError.js

Statements: 100% (8 / 8)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (8 / 8)      Ignored: none     

All files » cjs/util/ » tryOrThrowError.js
1 2 3 4 5 6 7 8 9 10 11 12 13 141 1 1565 1565     3     4094 4094   1  
function tryOrThrowError(target) {
    function tryCatcher() {
        try {
            tryCatcher.target.apply(this, arguments);
        }
        catch (e) {
            throw e;
        }
    }
    tryCatcher.target = target;
    return tryCatcher;
}
exports.tryOrThrowError = tryOrThrowError;
//# sourceMappingURL=tryOrThrowError.js.map