Skip to content

Improved error reporting via `DatabaseError`

Compare
Choose a tag to compare
@VaporBot VaporBot released this 13 Dec 18:23
· 20 commits to main since this release
f86bf9c
This patch was authored and released by @gwynne.

DatabaseError's isSyntaxError and isConnectionClosed properties now correctly respect MySQLError.invalidSyntax and MySQLError.closed errors. A unit tests for these behaviors is included.

Also avoids double-running the FluentBenchmark tests (same change as fluent-sqlite-driver#75).