1 2 3 4 5 6 7 8 9 10 11
use thiserror::Error; use crate::parser::error::ParsingError; #[derive(Debug, Error)] pub enum Error { #[error("WGSL parsing error")] ParsingError(#[from] ParsingError), #[error("I/O error")] IoError(#[from] std::io::Error), }