forked from gentoo-utils/gentoo-utils
git-subtree-dir: subprojects/thiserror git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
12 lines
220 B
Rust
12 lines
220 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
pub enum Error {
|
|
#[error("failed to open")]
|
|
OpenFile(#[from] std::io::Error),
|
|
#[error("failed to close")]
|
|
CloseFile(#[from] std::io::Error),
|
|
}
|
|
|
|
fn main() {}
|