1 2 3 4 5 6 7 8 9 10 11 12
//! Errors that may occur while using rdom. use thiserror::Error as ThisError; /// A static rendering DOM exception #[derive(Debug, ThisError)] pub enum DomError { /// Received an invalid query selector. Static rendering only supports /// "body" and "html". #[error("invalid query selector")] InvalidQuerySelector, }