feat: add DecodeError::Other (#602)
This commit is contained in:
parent
cb46ce13b4
commit
cbf4d46073
|
|
@ -178,6 +178,9 @@ pub enum DecodeError {
|
||||||
additional: usize,
|
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
|
/// An uncommon error occurred, see the inner text for more information
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
OtherString(alloc::string::String),
|
OtherString(alloc::string::String),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue