mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
refactor: Reduce visibility on Error members
This commit is contained in:
parent
ba582e77b0
commit
7f61869a60
1 changed files with 2 additions and 2 deletions
|
@ -432,13 +432,13 @@ pub enum ErrorKind {
|
|||
#[derive(Debug)]
|
||||
pub struct Error {
|
||||
/// Formatted error message, enhancing the cause message with extra information
|
||||
pub(crate) message: Message,
|
||||
message: Message,
|
||||
/// The type of error
|
||||
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.
|
||||
pub info: Vec<String>,
|
||||
pub(crate) source: Option<Box<dyn error::Error + Send + Sync>>,
|
||||
source: Option<Box<dyn error::Error + Send + Sync>>,
|
||||
wait_on_exit: bool,
|
||||
backtrace: Option<Backtrace>,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue