diff --git a/scylla/src/transport/errors.rs b/scylla/src/transport/errors.rs
index 778f33f29..f2016dee4 100644
--- a/scylla/src/transport/errors.rs
+++ b/scylla/src/transport/errors.rs
@@ -696,8 +696,8 @@ pub enum TranslationError {
 #[derive(Error, Debug, Clone)]
 #[error("Failed to perform a connection setup request. Request: {request_kind}, reason: {error}")]
 pub struct ConnectionSetupRequestError {
-    request_kind: CqlRequestKind,
-    error: ConnectionSetupRequestErrorKind,
+    pub request_kind: CqlRequestKind,
+    pub error: ConnectionSetupRequestErrorKind,
 }
 
 #[derive(Error, Debug, Clone)]