UNPKG

nativescript-fabric

Version:
21 lines 625 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var __1 = require(".."); var FabricErrorHandler = (function () { function FabricErrorHandler(ngZone) { this.ngZone = ngZone; this.ngZone.onError.subscribe(function (err) { __1.Fabric.logError(err); }); } FabricErrorHandler.prototype.handleError = function (err) { try { __1.Fabric.logError(err); } catch (e) { } throw err; }; return FabricErrorHandler; }()); exports.FabricErrorHandler = FabricErrorHandler; //# sourceMappingURL=errorhandler.js.map