UNPKG

777 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var tslib_1 = require("tslib");
4/**
5 * Thrown when consumer tries to get connection that does not exist.
6 */
7var ConnectionNotFoundError = /** @class */ (function (_super) {
8 tslib_1.__extends(ConnectionNotFoundError, _super);
9 function ConnectionNotFoundError(name) {
10 var _this = _super.call(this) || this;
11 _this.name = "ConnectionNotFoundError";
12 Object.setPrototypeOf(_this, ConnectionNotFoundError.prototype);
13 _this.message = "Connection \"" + name + "\" was not found.";
14 return _this;
15 }
16 return ConnectionNotFoundError;
17}(Error));
18exports.ConnectionNotFoundError = ConnectionNotFoundError;
19
20//# sourceMappingURL=ConnectionNotFoundError.js.map