UNPKG

841 BJavaScriptView Raw
1"use strict";
2var __extends = (this && this.__extends) || function (d, b) {
3 for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
4 function __() { this.constructor = d; }
5 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6};
7var ExecutionErrors = (function (_super) {
8 __extends(ExecutionErrors, _super);
9 function ExecutionErrors(message, failExecutions) {
10 return _super.call(this, "\n " + message + "\n \n Execution Errors: \n \n " + failExecutions.map(function (e) { return "\n Instance #" + e.index + "\n \n " + (e.error && e.error.stack ? e.error.stack.toString() : String(e.error)) + "\n "; }).join('\r\n')) || this;
11 }
12 return ExecutionErrors;
13}(Error));
14exports.ExecutionErrors = ExecutionErrors;
15//# sourceMappingURL=exeution-error.js.map
\No newline at end of file