use std::error;
use std::fmt;
#[derive(Debug, Clone)]
pub struct BinNotFound;
impl fmt::Display for BinNotFound {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "No bin has been found.")
}
}
impl error::Error for BinNotFound {
fn description(&self) -> &str {
"No bin has been found."
}
fn cause(&self) -> Option<&error::Error> {
None
}
}