Make nix error transparent
This commit is contained in:
@@ -31,7 +31,7 @@ pub enum Error {
|
||||
///
|
||||
/// Contains detailed error information from the underlying Nix C API.
|
||||
/// See [`NixError`] for the specific error kinds.
|
||||
#[error("the Nix API returned an error")]
|
||||
#[error(transparent)]
|
||||
Nix(#[from] NixError),
|
||||
/// The garbage collector failed to get the stack base.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user