xml: Rename XmlDeError to XmlError

This commit is contained in:
Lennart
2025-01-15 18:15:04 +01:00
parent 95f7912947
commit d74f0ba660
14 changed files with 52 additions and 53 deletions

View File

@@ -22,12 +22,12 @@ pub(crate) enum SyncLevel {
}
impl ValueDeserialize for SyncLevel {
fn deserialize(val: &str) -> Result<Self, rustical_xml::XmlDeError> {
fn deserialize(val: &str) -> Result<Self, rustical_xml::XmlError> {
Ok(match val {
"1" => Self::One,
"Infinity" => Self::Infinity,
_ => {
return Err(rustical_xml::XmlDeError::Other(
return Err(rustical_xml::XmlError::Other(
"Invalid sync-level".to_owned(),
))
}