mirror of https://git.sr.ht/~stygianentity/bincode
feat: add DecodeError::Other (#602)
This commit is contained in:
parent
cb46ce13b4
commit
cbf4d46073
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue