333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
{"version":3,"sources":["../browser/src/error/CustomRepositoryDoesNotHaveEntityError.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH;IAA4D,kEAAK;IAG7D,gDAAY,UAAe;QAA3B,YACI,iBAAO,SAIV;QAPD,UAAI,GAAG,wCAAwC,CAAC;QAI5C,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,sCAAsC,CAAC,SAAS,CAAC,CAAC;QAC9E,KAAI,CAAC,OAAO,GAAG,wBAAqB,UAAU,YAAY,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,qCAAiC;YAC/I,uEAAuE,CAAC;;IAChF,CAAC;IAEL,6CAAC;AAAD,CAVA,AAUC,CAV2D,KAAK,GAUhE","file":"CustomRepositoryDoesNotHaveEntityError.js","sourcesContent":["/**\n * Thrown if custom repositories that extend AbstractRepository classes does not have managed entity.\n */\nexport class CustomRepositoryDoesNotHaveEntityError extends Error {\n    name = \"CustomRepositoryDoesNotHaveEntityError\";\n\n    constructor(repository: any) {\n        super();\n        Object.setPrototypeOf(this, CustomRepositoryDoesNotHaveEntityError.prototype);\n        this.message = `Custom repository ${repository instanceof Function ? repository.name : repository.constructor.name} does not have managed entity. ` +\n            `Did you forget to specify entity for it @EntityRepository(MyEntity)? `;\n    }\n\n}"],"sourceRoot":".."}