removed unwraps and added a method to Results called .unwrap_or_exit(error_message, error_code)

This tries to unwrap and if it can't then it outputs the error message with the error!() macro
(log library) and exits with the error code.  This is to be used instead of expect and is for
fatal errors
This commit is contained in:
2026-05-15 19:19:17 +01:00
parent a5a45fa1f0
commit 20174e697c
9 changed files with 69 additions and 32 deletions
BIN
View File
Binary file not shown.