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
  • Loading branch information
wprzytula authored Dec 11, 2024
2 parents 7710af0 + 9bfd3c2 commit affcf82
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 affcf82

Please sign in to comment.