Initial valve setup and tf2 game setup

This commit is contained in:
CosminPerRam 2022-10-15 22:20:01 +03:00
parent e2be20ee53
commit 8098136d09
10 changed files with 234 additions and 12 deletions

15
src/errors.rs Normal file
View file

@ -0,0 +1,15 @@
use core::fmt;
use std::fmt::Formatter;
#[derive(Debug, Clone)]
pub enum GDError {
IDK(String)
}
impl fmt::Display for GDError {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
match self {
GDError::IDK(details) => write!(f, "IDK: {details}")
}
}
}