caldir-core 0.11.1

Core library for caldir calendar storage, sync, and provider protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::config::CaldirConfigError;
use crate::calendar::CalendarError;
use crate::provider::ProviderError;

#[derive(Debug, thiserror::Error)]
pub enum CaldirError {
    #[error(transparent)]
    Calendar(#[from] CalendarError),

    #[error("provider error: {0}")]
    Provider(#[from] ProviderError),

    #[error("config error: {0}")]
    Config(#[from] CaldirConfigError),

    #[error("no default calendar configured")]
    NoDefaultCalendar,
}