// Authors: Robert Lopez
/// Represents any `Error` that occurs as a readable String
#[derive(Debug)]
pub struct WasmCssError(pub String);
impl std::fmt::Display for WasmCssError {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(f, "Error: {}", self.0)
}
}
impl std::error::Error for WasmCssError {}