mirror of
https://github.com/isar/rusqlite.git
synced 2026-01-02 00:42:22 +08:00
Document new Error enum.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Version UPCOMING (TBD)
|
||||
|
||||
* BREAKING CHANGE: `SqliteError` is now an enum instead of a struct. Previously, we were (ab)using
|
||||
the error code and message to send back both underlying SQLite errors and errors that occurred
|
||||
at the Rust level. Now those have been separated out; SQLite errors are returned as
|
||||
`SqliteFailure` cases (which still include the error code but also include a Rust-friendlier
|
||||
enum as well), and rusqlite-level errors are captured in other cases. Because of this change,
|
||||
`SqliteError` no longer implements `PartialEq`.
|
||||
* BREAKING CHANGE: `SqliteTransactionDeferred`, `SqliteTransactionImmediate`, and
|
||||
`SqliteTransactionExclusive` are no longer exported. Instead, use
|
||||
`TransactionBehavior::Deferred`, `TransactionBehavior::Immediate`, and
|
||||
|
||||
Reference in New Issue
Block a user