@@ -27,7 +27,7 @@ use crate::{
27
27
non_generic_wrappers:: PasswordProtectedKeyEnvelope , AsymmetricKeyId , SecurityState ,
28
28
SignedSecurityState , SigningKeyId , SymmetricKeyId ,
29
29
} ,
30
- Client , NotAuthenticatedError , OrganizationId , UserId , VaultLockedError , WrongPasswordError ,
30
+ Client , NotAuthenticatedError , OrganizationId , UserId , WrongPasswordError ,
31
31
} ;
32
32
33
33
/// Catch all error for mobile crypto operations.
@@ -38,8 +38,6 @@ pub enum CryptoClientError {
38
38
#[ error( transparent) ]
39
39
NotAuthenticated ( #[ from] NotAuthenticatedError ) ,
40
40
#[ error( transparent) ]
41
- VaultLocked ( #[ from] VaultLockedError ) ,
42
- #[ error( transparent) ]
43
41
Crypto ( #[ from] bitwarden_crypto:: CryptoError ) ,
44
42
#[ error( transparent) ]
45
43
PasswordProtectedKeyEnvelope ( #[ from] PasswordProtectedKeyEnvelopeError ) ,
@@ -444,8 +442,6 @@ fn derive_pin_protected_user_key(
444
442
#[ bitwarden_error( flat) ]
445
443
#[ derive( Debug , thiserror:: Error ) ]
446
444
pub enum EnrollAdminPasswordResetError {
447
- #[ error( transparent) ]
448
- VaultLocked ( #[ from] VaultLockedError ) ,
449
445
#[ error( transparent) ]
450
446
Crypto ( #[ from] bitwarden_crypto:: CryptoError ) ,
451
447
}
0 commit comments