@snyk/dep-graph
Version:
Snyk dependency graph library
13 lines • 435 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomError = void 0;
class CustomError extends Error {
constructor(message) {
super(message);
Object.setPrototypeOf(this, CustomError.prototype);
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
}
}
exports.CustomError = CustomError;
//# sourceMappingURL=custom-error.js.map
;