add Clap to Error
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
f98bfbbdcd
commit
a552321287
3 changed files with 4 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -639,6 +639,7 @@ dependencies = [
|
||||||
"cargo_toml",
|
"cargo_toml",
|
||||||
"checked_ops",
|
"checked_ops",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
"clap",
|
||||||
"conduit_macros",
|
"conduit_macros",
|
||||||
"const-str",
|
"const-str",
|
||||||
"ctor",
|
"ctor",
|
||||||
|
|
|
@ -57,6 +57,7 @@ bytes.workspace = true
|
||||||
cargo_toml.workspace = true
|
cargo_toml.workspace = true
|
||||||
checked_ops.workspace = true
|
checked_ops.workspace = true
|
||||||
chrono.workspace = true
|
chrono.workspace = true
|
||||||
|
clap.workspace = true
|
||||||
conduit-macros.workspace = true
|
conduit-macros.workspace = true
|
||||||
const-str.workspace = true
|
const-str.workspace = true
|
||||||
ctor.workspace = true
|
ctor.workspace = true
|
||||||
|
|
|
@ -62,6 +62,8 @@ pub enum Error {
|
||||||
TomlSerError(#[from] toml::ser::Error),
|
TomlSerError(#[from] toml::ser::Error),
|
||||||
#[error("{0}")]
|
#[error("{0}")]
|
||||||
TomlDeError(#[from] toml::de::Error),
|
TomlDeError(#[from] toml::de::Error),
|
||||||
|
#[error("{0}")]
|
||||||
|
Clap(#[from] clap::error::Error),
|
||||||
|
|
||||||
// ruma
|
// ruma
|
||||||
#[error("{0}")]
|
#[error("{0}")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue