typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
14 lines (12 loc) • 516 B
JavaScript
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