Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting a change in FailableIterator #1075

Merged
merged 3 commits into from
Aug 26, 2021
Merged

Reverting a change in FailableIterator #1075

merged 3 commits into from
Aug 26, 2021

Conversation

nathanfallet
Copy link
Collaborator

@nathanfallet nathanfallet commented Aug 26, 2021

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant