Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
notion-enhanced / usr / lib / notion-enhanced / resources / app / shared / isOfflineError.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const offlineConnectionErrorSubstrings = [
    "ERR_CONNECTION_REFUSED",
    "ECONNREFUSED",
];
function isOfflineError(error) {
    return (error &&
        error.message &&
        offlineConnectionErrorSubstrings.some(str => error.message.indexOf(str) !== -1));
}
exports.default = isOfflineError;
//# sourceMappingURL=isOfflineError.js.map

//notion-enhancer
require('notion-enhancer/pkg/loader.js')(__filename, exports);