1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 |
|
5 |
|
6 |
|
7 | var AlreadyHasActiveConnectionError = (function (_super) {
|
8 | tslib_1.__extends(AlreadyHasActiveConnectionError, _super);
|
9 | function AlreadyHasActiveConnectionError(connectionName) {
|
10 | var _this = _super.call(this) || this;
|
11 | _this.name = "AlreadyHasActiveConnectionError";
|
12 | Object.setPrototypeOf(_this, AlreadyHasActiveConnectionError.prototype);
|
13 | _this.message = "Cannot create a new connection named \"" + connectionName + "\", because connection with such name " +
|
14 | "already exist and it now has an active connection session.";
|
15 | return _this;
|
16 | }
|
17 | return AlreadyHasActiveConnectionError;
|
18 | }(Error));
|
19 | exports.AlreadyHasActiveConnectionError = AlreadyHasActiveConnectionError;
|
20 |
|
21 |
|