1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#[derive(Debug)] pub enum Error { Compile(CompileError), Layout(ConvertError), LoadingData(String), FileWatch(notify::Error), } #[derive(Debug)] pub enum ConvertError { Unimplemented(String), } #[derive(Debug)] pub enum CompileError { Compile(shaderc::Error), Open(std::io::Error), InvalidPath, CreateCompiler, }