Sha256: 91f0b16a989968245bbb04ff73557db9ba10147a870c15f4cf756512786cc74d

Contents?: true

Size: 135 Bytes

Versions: 138

Compression:

Stored size: 135 Bytes

Contents

function createError(msg, code) {
    var err = new Error(msg);
    err.code = code;

    return err;
}

module.exports = createError;

Version data entries

138 entries across 69 versions & 2 rubygems

Version Path
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js