My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/development/libs/little/little/src/error.rs

15 lines
373 B

use little_core::CoreError;
use little_gl::GlError;
pub type Result<T> = std::result::Result<T, LittleError>;
/// Little an error as a treat
#[derive(thiserror::Error, Debug)]
pub enum LittleError {
#[error("little-core error: {0}")]
Core(CoreError),
#[error("little-gl error: {0}")]
Gl(GlError),
#[error("little: no more layer left")]
NoLayer,
}