use thiserror::Error;
#[derive(Debug, Error)]
#[error(
"window {window_name:?} on axis {axis} would breach: attempted {attempted:.6} > cap {cap:.6}"
)]
pub struct WindowBreached {
pub window_name: String,
pub axis: &'static str,
pub attempted: f64,
pub cap: f64,
}