Skip to content

Commit

Permalink
Merge pull request scylladb#1131 from rukai/make_connection_setup_req…
Browse files Browse the repository at this point in the history
…uest_error_public

Make fields of ConnectionSetupRequestError public

(cherry picked from commit affcf82)
  • Loading branch information
wprzytula committed Dec 11, 2024
1 parent de80ac1 commit 75072c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scylla/src/transport/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,10 @@ pub enum TranslationError {
/// It indicates that request needed to initiate a connection failed.
#[derive(Error, Debug, Clone)]
#[error("Failed to perform a connection setup request. Request: {request_kind}, reason: {error}")]
#[non_exhaustive]
pub struct ConnectionSetupRequestError {
request_kind: CqlRequestKind,
error: ConnectionSetupRequestErrorKind,
pub request_kind: CqlRequestKind,
pub error: ConnectionSetupRequestErrorKind,
}

#[derive(Error, Debug, Clone)]
Expand Down

0 comments on commit 75072c0

Please sign in to comment.