1use thiserror::Error; 2 3#[derive(Debug, Error)] 4pub enum QueryError { 5 #[error("unsupported table constraint")] 6 UnsupportedConstraint, 7 #[error("{0}")] 8 Other(String), 9}