UNPKG

978 BSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/MissingDriverError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAAwC,8CAAK;IAGzC,4BAAY,UAAkB;QAA9B,YACI,iBAAO,SAGV;QAND,UAAI,GAAG,oBAAoB,CAAC;QAIxB,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAC1D,KAAI,CAAC,OAAO,GAAG,qBAAkB,UAAU,+KAAqJ,CAAC;;IACrM,CAAC;IAEL,yBAAC;AAAD,CATA,AASC,CATuC,KAAK,GAS5C;AATY,gDAAkB","file":"MissingDriverError.js","sourcesContent":["/**\n * Thrown when consumer specifies driver type that does not exist or supported.\n */\nexport class MissingDriverError extends Error {\n name = \"MissingDriverError\";\n\n constructor(driverType: string) {\n super();\n Object.setPrototypeOf(this, MissingDriverError.prototype);\n this.message = `Wrong driver: \"${driverType}\" given. Supported drivers are: \"cordova\", \"expo\", \"mariadb\", \"mongodb\", \"mssql\", \"mysql\", \"oracle\", \"postgres\", \"sqlite\", \"sqljs\", \"react-native\".`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file