typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, 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