mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-17 16:39:58 +08:00
📦 Game Update 13952
This commit is contained in:
@@ -8,6 +8,7 @@ pub enum Error {
|
||||
ModuleNotFound,
|
||||
PatternNotFound,
|
||||
ProcessNotFound,
|
||||
SectionNotFound,
|
||||
SerdeError(serde_json::Error),
|
||||
Utf8Error(std::string::FromUtf8Error),
|
||||
WindowsError(windows::core::Error),
|
||||
@@ -44,6 +45,7 @@ impl std::fmt::Display for Error {
|
||||
Self::ModuleNotFound => write!(fmt, "Module not found"),
|
||||
Self::PatternNotFound => write!(fmt, "Pattern not found"),
|
||||
Self::ProcessNotFound => write!(fmt, "Process not found"),
|
||||
Self::SectionNotFound => write!(fmt, "Section not found"),
|
||||
Self::SerdeError(err) => write!(fmt, "Serde error: {}", err),
|
||||
Self::Utf8Error(err) => write!(fmt, "UTF-8 error: {}", err),
|
||||
Self::WindowsError(err) => write!(fmt, "Windows error: {}", err),
|
||||
|
||||
Reference in New Issue
Block a user