{"version":3,"sources":["../../src/error/NamingStrategyNotFoundError.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAE7C;;GAEG;AACH,MAAa,2BAA4B,SAAQ,2BAAY;IACzD,YAAY,YAA+B,EAAE,cAAsB;QAC/D,KAAK,EAAE,CAAA;QAEP,MAAM,IAAI,GACN,OAAO,YAAY,KAAK,UAAU;YAC9B,CAAC,CAAE,YAAoB,CAAC,IAAI;YAC5B,CAAC,CAAC,YAAY,CAAA;QACtB,IAAI,CAAC,OAAO;YACR,oBAAoB,IAAI,4DAA4D;gBACpF,8CAA8C,cAAc,eAAe,CAAA;IACnF,CAAC;CACJ;AAZD,kEAYC","file":"NamingStrategyNotFoundError.js","sourcesContent":["import { TypeORMError } from \"./TypeORMError\"\n\n/**\n * Thrown when consumer tries to use naming strategy that does not exist.\n */\nexport class NamingStrategyNotFoundError extends TypeORMError {\n constructor(strategyName: string | Function, connectionName: string) {\n super()\n\n const name =\n typeof strategyName === \"function\"\n ? (strategyName as any).name\n : strategyName\n this.message =\n `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":".."}