Skip to content

Commit 87fb25f

Browse files
committed
refactor(error): remove dead error variants from client 0.34 migration
Remove Error::Client and ConfigError::EncryptConfig variants that wrapped cipherstash_client::config::errors::ConfigError. No code path produces this error type after the client 0.34 refactor.
1 parent a1e940f commit 87fb25f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/cipherstash-proxy/src/error.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ pub enum Error {
1515
#[error("Connection closed after cancel request")]
1616
CancelRequest,
1717

18-
#[error(transparent)]
19-
Client(#[from] cipherstash_client::config::errors::ConfigError),
20-
2118
#[error(transparent)]
2219
Config(#[from] ConfigError),
2320

@@ -119,9 +116,6 @@ pub enum ConfigError {
119116
#[error(transparent)]
120117
Certificate(#[from] rustls_pki_types::pem::Error),
121118

122-
#[error(transparent)]
123-
EncryptConfig(#[from] cipherstash_client::config::errors::ConfigError),
124-
125119
#[error(transparent)]
126120
Database(#[from] tokio_postgres::Error),
127121

0 commit comments

Comments
 (0)