use std::error::Error;
use std::fmt;
#[derive(Debug, PartialEq)]
pub struct ServiceInterconnectError(pub String);
impl Error for ServiceInterconnectError {}
impl fmt::Display for ServiceInterconnectError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str(&self.0)
}
}
#[derive(Debug)]
pub struct ServiceLookupError(pub String);
impl Error for ServiceLookupError {}
impl fmt::Display for ServiceLookupError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.write_str(&self.0)
}
}