typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
22 lines (20 loc) • 868 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DriverOptionNotSetError = void 0;
var tslib_1 = require("tslib");
/**
* Thrown if some required driver's option is not set.
*/
var DriverOptionNotSetError = /** @class */ (function (_super) {
tslib_1.__extends(DriverOptionNotSetError, _super);
function DriverOptionNotSetError(optionName) {
var _this = _super.call(this) || this;
_this.name = "DriverOptionNotSetError";
Object.setPrototypeOf(_this, DriverOptionNotSetError.prototype);
_this.message = "Driver option (" + optionName + ") is not set. Please set it to perform connection to the database.";
return _this;
}
return DriverOptionNotSetError;
}(Error));
exports.DriverOptionNotSetError = DriverOptionNotSetError;
//# sourceMappingURL=DriverOptionNotSetError.js.map