bitwarden_collections/
error.rs1use bitwarden_error::bitwarden_error;
2use thiserror::Error;
3
4#[allow(missing_docs)]
5#[bitwarden_error(flat)]
6#[derive(Debug, Error)]
7pub enum CollectionDecryptError {
8 #[error(transparent)]
9 Crypto(#[from] bitwarden_crypto::CryptoError),
10}
11
12#[allow(missing_docs)]
13#[derive(Debug, Error)]
14pub enum CollectionsParseError {
15 #[error(transparent)]
16 Crypto(#[from] bitwarden_crypto::CryptoError),
17 #[error(transparent)]
18 MissingFieldError(#[from] bitwarden_core::MissingFieldError),
19}