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