21 lines
351 B
Rust
21 lines
351 B
Rust
#[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,
|
|
}
|