Revision control
Copy as Markdown
Other Tools
use thiserror::Error;
#[derive(Debug, Error)]
pub struct Error {
#[source]
source: std::io::Error,
#[from]
other: anyhow::Error,
}
fn main() {}
use thiserror::Error;
#[derive(Debug, Error)]
pub struct Error {
#[source]
source: std::io::Error,
#[from]
other: anyhow::Error,
}
fn main() {}