MCPcopy Create free account
hub / github.com/play-co/devkit / createError

Function createError

src/modules/Module.js:365–369  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

363};
364
365function createError(cls) {
366 cls.prototype = Object.create(Error.prototype);
367 cls.prototype.constructor = cls;
368 return cls;
369}
370
371function ModifiedTreeError(modulePath, changes) {
372 var msg = 'you have made modifications to the module %(name)s (%(path)s)';

Callers 1

Module.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…