stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.57k stars 1.55k forks source link

Reverting a change in `FailableIterator` #1075

Closed nathanfallet closed 2 years ago

nathanfallet commented 2 years ago

Linked to #1030

Note: we need to explain how to let people handle errors using failableNext directly:

do {
    while let row = try iterator.failableNext() {
        // Handle row
    }
} catch {
    // Handle error
}