spru_util/rotating/
error.rs1use std::fmt;
2
3#[derive(Debug, Default)]
4pub struct Expected;
5
6impl fmt::Display for Expected {
7 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
8 write!(f, "Actual value did not match the expected value")
9 }
10}
11
12impl std::error::Error for Expected {}