Skip to content

Commit

Permalink
feat: add DecodeError::Other (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
odysa authored Nov 21, 2022
1 parent ba4d196 commit c1e44bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c1e44bf

Please sign in to comment.