mirror of
https://github.com/clap-rs/clap
synced 2024-11-15 00:57:15 +00:00
docs: Prepare for 3.1 deprecations
Don't want to forget this remaining work
This commit is contained in:
parent
6bfe7f5a0b
commit
4f50e97f23
1 changed files with 2 additions and 0 deletions
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue