{"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":".."}
|