Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion crates/bitwarden-vault/src/cipher/cipher.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use bitwarden_api_api::{
apis::ciphers_api::{PutShareError, PutShareManyError},
apis::ciphers_api::{
DeleteAttachmentAdminError, DeleteAttachmentError, PutShareError, PutShareManyError,
},
models::{
CipherDetailsResponseModel, CipherRequestModel, CipherResponseModel,
CipherWithIdRequestModel,
Expand Down Expand Up @@ -72,6 +74,10 @@ pub enum CipherError {
Chrono(#[from] chrono::ParseError),
#[error(transparent)]
SerdeJson(#[from] serde_json::Error),
#[error(transparent)]
DeleteAttachment(#[from] bitwarden_api_api::apis::Error<DeleteAttachmentError>),
#[error(transparent)]
DeleteAttachmentAdmin(#[from] bitwarden_api_api::apis::Error<DeleteAttachmentAdminError>),
}

/// Helper trait for operations on cipher types.
Expand Down
Loading
Loading