1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LibsqlError = void 0;\n/** Error thrown by the client. */\nclass LibsqlError extends Error {\n /** Machine-readable error code. */\n code;\n /** Raw numeric error code */\n rawCode;\n constructor(message, code, rawCode, cause) {\n if (code !== undefined) {\n message = `${code}: ${message}`;\n }\n super(message, {\n cause\n });\n this.code = code;\n this.rawCode = rawCode;\n this.name = \"LibsqlError\";\n }\n}\nexports.LibsqlError = LibsqlError;","map":{"version":3,"names":["Object","defineProperty","exports","value","LibsqlError","Error","code","rawCode","constructor","message","cause","undefined","name"],"sources":["/Users/shoofle/Projects/the-forest/node_modules/@libsql/core/lib-cjs/api.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LibsqlError = void 0;\n/** Error thrown by the client. */\nclass LibsqlError extends Error {\n /** Machine-readable error code. */\n code;\n /** Raw numeric error code */\n rawCode;\n constructor(message, code, rawCode, cause) {\n if (code !== undefined) {\n message = `${code}: ${message}`;\n }\n super(message, { cause });\n this.code = code;\n this.rawCode = rawCode;\n this.name = \"LibsqlError\";\n }\n}\nexports.LibsqlError = LibsqlError;\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,WAAW,GAAG,KAAK,CAAC;AAC5B;AACA,MAAMA,WAAW,SAASC,KAAK,CAAC;EAC5B;EACAC,IAAI;EACJ;EACAC,OAAO;EACPC,WAAWA,CAACC,OAAO,EAAEH,IAAI,EAAEC,OAAO,EAAEG,KAAK,EAAE;IACvC,IAAIJ,IAAI,KAAKK,SAAS,EAAE;MACpBF,OAAO,GAAG,GAAGH,IAAI,KAAKG,OAAO,EAAE;IACnC;IACA,KAAK,CAACA,OAAO,EAAE;MAAEC;IAAM,CAAC,CAAC;IACzB,IAAI,CAACJ,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACK,IAAI,GAAG,aAAa;EAC7B;AACJ;AACAV,OAAO,CAACE,WAAW,GAAGA,WAAW","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]} |