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.5.13 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.13 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.10 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.10 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.9 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.9 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.8 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.8 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.7 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.7 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.6 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.6 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.5 node_modules/bower/node_modules/bower-json/lib/util/createError.js
trusty-festivity-extension-2.5.5 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.4 node_modules/bower/node_modules/bower-registry-client/lib/util/createError.js
trusty-festivity-extension-2.5.4 node_modules/bower/node_modules/bower-json/lib/util/createError.js