docs: Prepare for 3.1 deprecations

Don't want to forget this remaining work
This commit is contained in:
Ed Page 2022-02-07 15:05:15 -06:00
parent 6bfe7f5a0b
commit 4f50e97f23

View file

@ -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>,
}