typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
12 lines (10 loc) • 398 B
JavaScript
import { TypeORMError } from "./TypeORMError";
/**
* Thrown when user tries to execute operation that requires connection to be established.
*/
export class ConnectionIsNotSetError extends TypeORMError {
constructor(dbType) {
super(`Connection with ${dbType} database is not established. Check connection configuration.`);
}
}
//# sourceMappingURL=ConnectionIsNotSetError.js.map