//#region src/native-binding-error.d.ts /** * Shared leaf for the skipped-native-build failure mode. Lives outside * `connection.ts` / `encryption/` so both driver loaders can use it * without re-creating the import cycle that `driver-types.ts` exists * to break. * * @packageDocumentation */ /** * Raised when a native SQLite peer is present in `node_modules` but its * compiled binding cannot be loaded. The dominant cause: pnpm 10+ skips * dependency build scripts unless they are approved, so * `better-sqlite3`'s prebuild download never ran - the install LOOKS * successful (pnpm prints one `Ignored build scripts` line) and the * process dies at first database open with a raw `bindings.js` stack. * This error replaces that stack with the actual fix. * * @stable */ declare class SqliteNativeBindingError extends Error { readonly name = "SqliteNativeBindingError"; /** Package-level error kind, matching the repo's `kind` convention. */ readonly kind = "sqlite-native-binding"; /** The peer whose binding failed to load. */ readonly packageName: string; constructor(packageName: string, cause: unknown); } //#endregion export { SqliteNativeBindingError }; //# sourceMappingURL=native-binding-error.d.ts.map