UNPKG

stryker

Version:
20 lines 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var util_1 = require("@stryker-mutator/util"); var ChildProcessCrashedError = /** @class */ (function (_super) { tslib_1.__extends(ChildProcessCrashedError, _super); function ChildProcessCrashedError(pid, message, exitCode, signal, innerError) { var _this = _super.call(this, message, innerError) || this; _this.pid = pid; _this.exitCode = exitCode; _this.signal = signal; Error.captureStackTrace(_this, ChildProcessCrashedError); // TS recommendation: https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work Object.setPrototypeOf(_this, ChildProcessCrashedError.prototype); return _this; } return ChildProcessCrashedError; }(util_1.StrykerError)); exports.default = ChildProcessCrashedError; //# sourceMappingURL=ChildProcessCrashedError.js.map