| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/nodejs/err-code/ |
Upload File : |
(function(modules, cache, entry) {
window.err-code = req(entry);
function req(name) {
if (cache[name]) return cache[name].exports;
var m = cache[name] = {exports: {}};
modules[name][0].call(m.exports, modRequire, m, m.exports, window);
return m.exports;
function modRequire(alias) {
var id = modules[name][1][alias];
if (!id) throw new Error("Cannot find module " + alias);
return req(id);
}
}
})({0: [function(require,module,exports,global){
'use strict';
function createError(err, code, props) {
var key;
if (!(err instanceof Error)) {
throw new TypeError('Please pass an Error to err-code');
}
if (typeof code === 'object') {
props = code;
} else if (code != null) {
err.code = code;
}
if (props) {
for (key in props) {
err[key] = props[key];
}
}
return err;
}
module.exports = createError;
}, {}],}, {}, 0);