1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum Error { 5 #[error(transparent)] 6 Io(#[from] std::io::Error), 7 8 #[error("No triangle")] 9 NoElements, 10}