UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

14 lines (12 loc) 516 B
import { TypeORMError } from "./TypeORMError"; /** * Thrown when specified entity property was not found. */ export class EntityPropertyNotFoundError extends 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.`; } } //# sourceMappingURL=EntityPropertyNotFoundError.js.map