We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Box<figment::Error>
Error
1 parent 7d4c1c2 commit 0fe93daCopy full SHA for 0fe93da
src/cmd.rs
@@ -349,6 +349,7 @@ impl Pacaptr {
349
.join(Config::env_provider())
350
.join(Config::file_provider())
351
.extract::<Config>()
352
+ .map_err(Box::new)
353
})?);
354
self.dispatch_from(cfg).await
355
}
src/error.rs
@@ -29,7 +29,7 @@ pub enum Error {
29
30
/// Error when handling a [`Config`](crate::config::Config).
31
#[error("failed to parse config")]
32
- ConfigError(#[from] figment::Error),
+ ConfigError(#[from] Box<figment::Error>),
33
34
/// A [`Cmd`](crate::exec::Cmd) failed to finish.
35
#[error("failed to get exit code of subprocess")]
0 commit comments