Skip to main content

caldir_core/connection/
error.rs

1use crate::calendar::CalendarError;
2use crate::remote::RemoteError;
3
4#[derive(Debug, thiserror::Error)]
5#[non_exhaustive]
6pub enum ConnectionError {
7    #[error(transparent)]
8    Remote(#[from] RemoteError),
9
10    #[error(transparent)]
11    Calendar(#[from] CalendarError),
12}