1
2
3
4
5
6
7
8
#[non_exhaustive]
#[derive(Debug, Clone)]
pub enum Error {
    LibError(std::ffi::c_int),
    Bug(&'static str),
}

pub type Result<T> = std::result::Result<T, Error>;