UNPKG

typeorm

Version:

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

18 lines (16 loc) 717 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EntityPropertyNotFoundError = void 0; const TypeORMError_1 = require("./TypeORMError"); /** * Thrown when specified entity property was not found. */ class EntityPropertyNotFoundError extends TypeORMError_1.TypeORMError { constructor(propertyPath, metadata) { super(propertyPath); Object.setPrototypeOf(this, EntityPropertyNotFoundError.prototype); this.message = `Property "${propertyPath}" was not found in "${metadata.targetName}". Make sure your query is correct.`; } } exports.EntityPropertyNotFoundError = EntityPropertyNotFoundError; //# sourceMappingURL=EntityPropertyNotFoundError.js.map