UNPKG

@snyk/dep-graph

Version:

Snyk dependency graph library

13 lines 435 B
"use strict"; 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