use core::{error::Error, fmt};
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct ResolutionMismatch;
impl fmt::Display for ResolutionMismatch {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "resolution mismatch")
}
}
impl Error for ResolutionMismatch {
fn source(&self) -> Option<&(dyn Error + 'static)> {
None
}
}