404

[ Avaa Bypassed ]




Upload:

Command:

botdev@52.14.6.145: ~ $
'use strict';

function createError(msg, code, props) {
    var err = msg instanceof Error ? msg : new Error(msg);
    var key;

    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;

Filemanager

Name Type Size Permission Actions
.editorconfig File 179 B 0644
.eslintrc.json File 127 B 0644
.npmignore File 25 B 0644
.travis.yml File 54 B 0644
README.md File 2.3 KB 0644
bower.json File 589 B 0644
index.js File 397 B 0644
index.umd.js File 1.24 KB 0644
package.json File 1.65 KB 0644