333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
{"version":3,"sources":["../browser/src/error/CustomRepositoryCannotInheritRepositoryError.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH;IAAkE,wEAAK;IAGnE,sDAAY,UAAe;QAA3B,YACI,iBAAO,SAIV;QAPD,UAAI,GAAG,8CAA8C,CAAC;QAIlD,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,4CAA4C,CAAC,SAAS,CAAC,CAAC;QACpF,KAAI,CAAC,OAAO,GAAG,+BAA4B,UAAU,YAAY,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,OAAG;YACxH,+FAA+F,CAAC;;IACxG,CAAC;IAEL,mDAAC;AAAD,CAVA,AAUC,CAViE,KAAK,GAUtE","file":"CustomRepositoryCannotInheritRepositoryError.js","sourcesContent":["/**\n * Thrown if custom repository inherits Repository class however entity is not set in @EntityRepository decorator.\n */\nexport class CustomRepositoryCannotInheritRepositoryError extends Error {\n    name = \"CustomRepositoryCannotInheritRepositoryError\";\n\n    constructor(repository: any) {\n        super();\n        Object.setPrototypeOf(this, CustomRepositoryCannotInheritRepositoryError.prototype);\n        this.message = `Custom entity repository ${repository instanceof Function ? repository.name : repository.constructor.name} ` +\n            ` cannot inherit Repository class without entity being set in the @EntityRepository decorator.`;\n    }\n\n}"],"sourceRoot":".."}