bitwarden_exporters/cxf/
error.rs

1use std::borrow::Cow;
2
3use thiserror::Error;
4
5#[derive(Error, Debug)]
6pub enum CxfError {
7    #[error("JSON error: {0}")]
8    Serde(#[from] serde_json::Error),
9
10    #[error("Internal error: {0}")]
11    Internal(Cow<'static, str>),
12}