📦 Game Update 13952

This commit is contained in:
a2x
2023-09-30 12:40:34 +10:00
parent b61d63b6ef
commit 5963b4fef0
19 changed files with 210 additions and 195 deletions

View File

@@ -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),