UNPKG

1.08 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/CustomRepositoryNotFoundError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAAmD,yDAAK;IAGpD,uCAAY,UAAe;QAA3B,YACI,iBAAO,SAIV;QAPD,UAAI,GAAG,+BAA+B,CAAC;QAInC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC;QACrE,KAAI,CAAC,OAAO,GAAG,wBAAqB,UAAU,YAAY,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,sBAAmB;YACjI,0DAA0D,CAAC;;IACnE,CAAC;IAEL,oCAAC;AAAD,CAVA,AAUC,CAVkD,KAAK,GAUvD;AAVY,sEAA6B","file":"CustomRepositoryNotFoundError.js","sourcesContent":["/**\n * Thrown if custom repository was not found.\n */\nexport class CustomRepositoryNotFoundError extends Error {\n name = \"CustomRepositoryNotFoundError\";\n\n constructor(repository: any) {\n super();\n Object.setPrototypeOf(this, CustomRepositoryNotFoundError.prototype);\n this.message = `Custom repository ${repository instanceof Function ? repository.name : repository.constructor.name } was not found. ` +\n `Did you forgot to put @EntityRepository decorator on it?`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file