UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

17 lines (15 loc) 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MissingDriverError = void 0; const TypeORMError_1 = require("./TypeORMError"); /** * Thrown when consumer specifies driver type that does not exist or supported. */ class MissingDriverError extends TypeORMError_1.TypeORMError { constructor(driverType, availableDrivers = []) { super(`Wrong driver: "${driverType}" given. Supported drivers are: ` + `${availableDrivers.map((d) => `"${d}"`).join(", ")}.`); } } exports.MissingDriverError = MissingDriverError; //# sourceMappingURL=MissingDriverError.js.map