add_item now returns a Result

This commit is contained in:
daladim 2021-03-24 09:15:55 +01:00
parent fd0568dbcc
commit 9355629136
5 changed files with 36 additions and 23 deletions

View file

@ -92,8 +92,8 @@ impl PartialCalendar for RemoteCalendar {
/// Add an item into this calendar
async fn add_item(&mut self, _item: Item) {
log::error!("Not implemented");
async fn add_item(&mut self, _item: Item) -> Result<(), Box<dyn Error>> {
Err("Not implemented".into())
}
/// Remove an item from this calendar