/** * Query-layer exception thrown when the underlying SQL engine/driver fails. * Includes the compiled SQL and bindings for debugging. */ export declare class QueryException extends Error { readonly sql: string; readonly bindings: readonly unknown[]; readonly cause: Error; /** * Create a new QueryException. * * @param message - Actionable description of what failed. * @param sql - Compiled SQL string that was executed. * @param bindings - Bindings used for the SQL statement. * @param cause - The original driver error. */ constructor(message: string, sql: string, bindings: readonly unknown[], cause: Error); } //# sourceMappingURL=QueryException.d.ts.map