Skip to content

Commit

Permalink
Remove unused MissingApiVersion error
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed Jan 14, 2025
1 parent bef223f commit 5e5e1cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion libparsec/crates/client/src/monitors/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ fn handle_sse_error(
| ConnectionError::BadContent
| ConnectionError::InvalidResponseStatus(_)
| ConnectionError::InvalidResponseContent(_)
| ConnectionError::MissingApiVersion
| ConnectionError::MissingSupportedApiVersions
| ConnectionError::FrozenUser
| ConnectionError::AuthenticationTokenExpired
Expand Down
4 changes: 0 additions & 4 deletions libparsec/crates/client_connection/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ pub enum ConnectionError {
#[error("Failed to deserialize the response: {0}")]
InvalidResponseContent(ProtocolDecodeError),

/// We failed to retrieve Api-Version
#[error("Api-Version header is missing")]
MissingApiVersion,

/// We failed to retrieve Supported-Api-Versions
#[error("Supported-Api-Versions header is missing")]
MissingSupportedApiVersions,
Expand Down

0 comments on commit 5e5e1cc

Please sign in to comment.