some other cleanup

This commit is contained in:
2024-12-30 18:58:24 +00:00
parent 18df986c67
commit 4c9273daed
3 changed files with 10 additions and 5 deletions
+3 -3
View File
@@ -4,12 +4,12 @@ use thiserror::Error;
pub enum Error {
#[error("failed to obtain handle")]
HandleError(String),
#[error("failed to create instance")]
#[error("failed to access process memory")]
MemoryError(String),
#[error("failed to create process")]
ProcessError(String),
#[error("failed to create snapshot")]
SnapshotError(String),
#[error("failed to convert integer")]
IntegerConversionError(#[from] std::num::TryFromIntError),
#[error("failed to access process memory")]
MemoryError(String),
}