wgsldoc 0.2.1

Documentation generator for WGSL shaders
Documentation
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),
}