{"version":3,"sources":["../browser/src/error/SubjectRemovedAndUpdatedError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C;;GAEG;AACH,MAAM,OAAO,6BAA8B,SAAQ,YAAY;IAC3D,YAAY,OAAgB;QACxB,KAAK,CACD,mBAAmB,OAAO,CAAC,QAAQ,CAAC,IAAI,4CAA4C;YAChF,6HAA6H,CACpI,CAAA;IACL,CAAC;CACJ","file":"SubjectRemovedAndUpdatedError.js","sourcesContent":["import { Subject } from \"../persistence/Subject\"\nimport { TypeORMError } from \"./TypeORMError\"\n\n/**\n * Thrown when same object is scheduled for remove and updation at the same time.\n */\nexport class SubjectRemovedAndUpdatedError extends TypeORMError {\n constructor(subject: Subject) {\n super(\n `Removed entity \"${subject.metadata.name}\" is also scheduled for update operation. ` +\n `Make sure you are not updating and removing same object (note that update or remove may be executed by cascade operations).`,\n )\n }\n}\n"],"sourceRoot":".."}