[tim] Cleanup on timer aisle
This commit is contained in:
@@ -4,6 +4,7 @@ use sdl2::video::WindowBuildError;
|
||||
|
||||
pub type EmulatorResult<T> = Result<T, EmulatorError>;
|
||||
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum EmulatorError {
|
||||
SdlError(String),
|
||||
@@ -41,4 +42,4 @@ impl<T> From<PoisonError<T>> for EmulatorError{
|
||||
fn from(value: PoisonError<T>) -> Self {
|
||||
Self::MutexInvalidState(value.to_string())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user