Skip to content

Commit 6744694

Browse files
committed
errors: remove QueryError::NextPageError variant
1 parent a292763 commit 6744694

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scylla/src/errors.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,6 @@ pub enum ExecutionError {
111111
/// 'USE KEYSPACE <>' request failed.
112112
#[error("'USE KEYSPACE <>' request failed: {0}")]
113113
UseKeyspaceError(#[from] UseKeyspaceError),
114-
115-
// TODO: This should not belong here, but it requires changes to error types
116-
// returned in async iterator API. This should be handled in separate PR.
117-
// The reason this needs to be included is that topology.rs makes use of iter API and returns ExecutionError.
118-
// Once iter API is adjusted, we can then adjust errors returned by topology module (e.g. refactor MetadataError and not include it in ExecutionError).
119-
/// An error occurred during async iteration over rows of result.
120-
#[error("Failed to fetch next page of the result: {0}")]
121-
NextPageError(#[from] NextPageError),
122114
}
123115

124116
impl From<SerializationError> for ExecutionError {

0 commit comments

Comments
 (0)