All files / utils/dist exception.js

62.5% Statements 5/8
0% Branches 0/2
100% Functions 1/1
62.5% Lines 5/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  9x 9x   1x 1x                 9x  
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.nativeTryCatch = void 0;
function nativeTryCatch(fn, errorFn) {
    try {
        fn();
    }
    catch (err) {
        console.log('err', err);
        if (errorFn) {
            errorFn(err);
        }
    }
}
exports.nativeTryCatch = nativeTryCatch;
//# sourceMappingURL=exception.js.map