verity_memory/errors/
aob_scan.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14

#[derive(Debug, PartialEq)]
pub enum AobScanError {
    PatternNotFound,
    InvalidPattern,
}

impl std::fmt::Display for AobScanError {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        write!(f, "{:?}", self)
    }
}

impl std::error::Error for AobScanError {}