feat: add DecodeError::Other (#602)

This commit is contained in:
odysa 2022-11-21 06:33:52 -06:00 committed by GitHub
parent cb46ce13b4
commit cbf4d46073
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ pub enum DecodeError {
additional: usize,
},
/// An uncommon error occurred, see the inner text for more information
Other(&'static str),
/// An uncommon error occurred, see the inner text for more information
#[cfg(feature = "alloc")]
OtherString(alloc::string::String),