Aparently I haven't commited all those changes. I really should/want to do a lot
more and smaller commits.
This commit is contained in:
8
src/error.rs
Normal file
8
src/error.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
pub struct MizeError {
|
||||
pub message: String
|
||||
}
|
||||
|
||||
pub fn display_error_to_user(error: MizeError){
|
||||
println!("{}", error.message);
|
||||
}
|
||||
Reference in New Issue
Block a user