protomask_tun/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3    #[error(transparent)]
4    IoError(#[from] std::io::Error),
5
6    #[error(transparent)]
7    NetlinkError(#[from] rtnetlink::Error),
8}
9
10pub type Result<T> = std::result::Result<T, Error>;