UNPKG

1.26 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/NamingStrategyNotFoundError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAAiD,uDAAK;IAGlD,qCAAY,YAA6B,EAAE,cAAsB;QAAjE,YACI,iBAAO,SAKV;QARD,UAAI,GAAG,6BAA6B,CAAC;QAIjC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,2BAA2B,CAAC,SAAS,CAAC,CAAC;QACnE,IAAM,IAAI,GAAG,YAAY,YAAY,QAAQ,CAAC,CAAC,CAAE,YAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;QAC1F,KAAI,CAAC,OAAO,GAAG,uBAAoB,IAAI,gEAA4D;aAC/F,iDAA8C,cAAc,mBAAe,CAAA,CAAC;;IACpF,CAAC;IAEL,kCAAC;AAAD,CAXA,AAWC,CAXgD,KAAK,GAWrD;AAXY,kEAA2B","file":"NamingStrategyNotFoundError.js","sourcesContent":["/**\n * Thrown when consumer tries to use naming strategy that does not exist.\n */\nexport class NamingStrategyNotFoundError extends Error {\n name = \"NamingStrategyNotFoundError\";\n\n constructor(strategyName: string|Function, connectionName: string) {\n super();\n Object.setPrototypeOf(this, NamingStrategyNotFoundError.prototype);\n const name = strategyName instanceof Function ? (strategyName as any).name : strategyName;\n this.message = `Naming strategy \"${name}\" was not found. Looks like this naming strategy does not ` +\n `exist or it was not registered in current \"${connectionName}\" connection?`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file