UNPKG

typeorm

Version:

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

19 lines (17 loc) 704 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomRepositoryNotFoundError = void 0; const TypeORMError_1 = require("./TypeORMError"); /** * Thrown if custom repository was not found. */ class CustomRepositoryNotFoundError extends TypeORMError_1.TypeORMError { constructor(repository) { super(`Custom repository ${typeof repository === "function" ? repository.name : repository.constructor.name} was not found. ` + `Did you forgot to put @EntityRepository decorator on it?`); } } exports.CustomRepositoryNotFoundError = CustomRepositoryNotFoundError; //# sourceMappingURL=CustomRepositoryNotFoundError.js.map