UNPKG

typeorm

Version:

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

13 lines (11 loc) 476 B
import { TypeORMError } from "./TypeORMError"; /** * Thrown when user saves tree children entity but its parent is not saved yet. */ export class CannotAttachTreeChildrenEntityError extends TypeORMError { constructor(entityName) { super(`Cannot attach entity "${entityName}" to its parent. Please make sure parent ` + `is saved in the database before saving children nodes.`); } } //# sourceMappingURL=CannotAttachTreeChildrenEntityError.js.map