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) 876 B
import { __extends } from "tslib"; /** * Thrown when consumer specifies driver type that does not exist or supported. */ var MissingDriverError = /** @class */ (function (_super) { __extends(MissingDriverError, _super); function MissingDriverError(driverType) { var _this = _super.call(this) || this; _this.name = "MissingDriverError"; Object.setPrototypeOf(_this, MissingDriverError.prototype); _this.message = "Wrong driver: \"" + driverType + "\" given. Supported drivers are: \"cordova\", \"expo\", \"mariadb\", \"mongodb\", \"mssql\", \"mysql\", \"oracle\", \"postgres\", \"sqlite\", \"better-sqlite3\", \"sqljs\", \"react-native\", \"aurora-data-api\", \"aurora-data-api-pg\"."; return _this; } return MissingDriverError; }(Error)); export { MissingDriverError }; //# sourceMappingURL=MissingDriverError.js.map