pub enum OckamError {
    None,
}

impl OckamError {
    pub const DOMAIN_CODE: u32 = 10_000;
    pub const DOMAIN_NAME: &'static str = "OCKAM_NODE";
}

impl Into<Error> for OckamError {
    fn into(self) -> Error {
        Error::new(Self::DOMAIN_CODE + (self as u32), Self::DOMAIN_NAME)
    }
}
