UNPKG

826 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var tslib_1 = require("tslib");
4/**
5 * Thrown if some required driver's option is not set.
6 */
7var DriverOptionNotSetError = /** @class */ (function (_super) {
8 tslib_1.__extends(DriverOptionNotSetError, _super);
9 function DriverOptionNotSetError(optionName) {
10 var _this = _super.call(this) || this;
11 _this.name = "DriverOptionNotSetError";
12 Object.setPrototypeOf(_this, DriverOptionNotSetError.prototype);
13 _this.message = "Driver option (" + optionName + ") is not set. Please set it to perform connection to the database.";
14 return _this;
15 }
16 return DriverOptionNotSetError;
17}(Error));
18exports.DriverOptionNotSetError = DriverOptionNotSetError;
19
20//# sourceMappingURL=DriverOptionNotSetError.js.map