mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 17:12:22 +00:00
Move ical-related stuff to rustical_ical crate
This commit is contained in:
@@ -38,7 +38,7 @@ impl TryFrom<&str> for PrincipalType {
|
||||
"ROOM" => Self::Room,
|
||||
"UNKNOWN" => Self::Unknown,
|
||||
_ => {
|
||||
return Err(crate::Error::InvalidData(
|
||||
return Err(crate::Error::InvalidPrincipalType(
|
||||
"Invalid principal type".to_owned(),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user