enshort common error name

This commit is contained in:
yggverse 2024-11-30 04:05:31 +02:00
parent 809e54b887
commit a06e4e9eff
16 changed files with 49 additions and 49 deletions

View file

@ -52,7 +52,7 @@ impl Data {
false => Some(Self { value }),
true => None,
}),
Err(reason) => Err(Error::Decode(reason)),
Err(e) => Err(Error::Decode(e)),
}
}
None => Err(Error::Protocol),