1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error_chain!{
errors {
CargoMetadata(stderr: String) {
description("execution of `cargo metadata` failed")
display("error during execution of `cargo metadata`: {}", stderr)
}
}
foreign_links {
Io(::std::io::Error) #[doc = "IO Error during execution of `cargo metadata`"];
Utf8(::std::str::Utf8Error) #[doc = "Output of `cargo metadata` was not valid utf8"];
ErrUtf8(::std::string::FromUtf8Error) #[doc = "Error output of `cargo metadata` was not valid utf8"];
Json(::serde_json::Error) #[doc = "Deserialization error (structure of json did not match expected structure)"];
}
}