Skip to content

Commit

Permalink
errors: remove QueryError::NextPageError variant
Browse files Browse the repository at this point in the history
  • Loading branch information
muzarski committed Feb 4, 2025
1 parent ad52bc8 commit 8c46971
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scylla/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ pub enum ExecutionError {
#[error("'USE KEYSPACE <>' request failed: {0}")]
UseKeyspaceError(#[from] UseKeyspaceError),

// TODO: This should not belong here, but it requires changes to error types
// returned in async iterator API. This should be handled in separate PR.
// The reason this needs to be included is that topology.rs makes use of iter API and returns ExecutionError.
// Once iter API is adjusted, we can then adjust errors returned by topology module (e.g. refactor MetadataError and not include it in ExecutionError).
/// An error occurred during async iteration over rows of result.
#[error("Failed to fetch next page of the result: {0}")]
NextPageError(#[from] NextPageError),

/// Failed to convert [`QueryResult`][crate::response::query_result::QueryResult]
/// into [`LegacyQueryResult`][crate::response::legacy_query_result::LegacyQueryResult].
#[deprecated(
Expand Down

0 comments on commit 8c46971

Please sign in to comment.