Error: Remove FunkyMathError and Stringly Typed context

This commit is contained in:
2023-03-29 23:42:41 -05:00
parent 9195d439e3
commit c194a3c53a
3 changed files with 12 additions and 13 deletions

View File

@@ -191,10 +191,8 @@ mod cpu {
#[test]
fn error() {
let error = chirp::error::Error::FunkyMath {
word: 0x1234,
explanation: "This shit was funky".to_owned(),
};
let error = chirp::error::Error::MissingRegion { region: Screen };
// Print it with Display and Debug
println!("{error} {error:?}");
}