UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

19 lines (17 loc) 804 B
import { __extends } from "tslib"; /** * Thrown when required driver's package is not installed. */ var DriverPackageNotInstalledError = /** @class */ (function (_super) { __extends(DriverPackageNotInstalledError, _super); function DriverPackageNotInstalledError(driverName, packageName) { var _this = _super.call(this) || this; _this.name = "DriverPackageNotInstalledError"; Object.setPrototypeOf(_this, DriverPackageNotInstalledError.prototype); _this.message = driverName + " package has not been found installed. Try to install it: npm install " + packageName + " --save"; return _this; } return DriverPackageNotInstalledError; }(Error)); export { DriverPackageNotInstalledError }; //# sourceMappingURL=DriverPackageNotInstalledError.js.map