Skip to content

Commit

Permalink
docs: Prepare for 3.1 deprecations
Browse files Browse the repository at this point in the history
Don't want to forget this remaining work
  • Loading branch information
epage committed Feb 8, 2022
1 parent 6bfe7f5 commit 4f50e97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/error/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ pub type Result<T, E = Error> = StdResult<T, E>;
pub struct Error {
inner: Box<ErrorInner>,
/// The type of error
// TODO: Deprecate
pub kind: ErrorKind,
/// Additional information depending on the error kind, like values and argument names.
/// Useful when you want to render an error of your own.
// TODO: Deprecate
pub info: Vec<String>,
}

Expand Down

0 comments on commit 4f50e97

Please sign in to comment.