UNPKG

877 BSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/NoConnectionOptionError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAA6C,mDAAK;IAE9C,iCAAY,UAAkB;QAA9B,YACI,iBAAO,SAGV;QAFG,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;QAC/D,KAAI,CAAC,OAAO,GAAG,cAAW,UAAU,kEAA2D,UAAU,2DAAuD,CAAC;;IACrK,CAAC;IAEL,8BAAC;AAAD,CARA,AAQC,CAR4C,KAAK,GAQjD;AARY,0DAAuB","file":"NoConnectionOptionError.js","sourcesContent":["/**\n * Thrown when some option is not set in the connection options.\n */\nexport class NoConnectionOptionError extends Error {\n\n constructor(optionName: string) {\n super();\n Object.setPrototypeOf(this, NoConnectionOptionError.prototype);\n this.message = `Option \"${optionName}\" is not set in your connection options, please define \"${optionName}\" option in your connection options or ormconfig.json`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file