48046b61fb
load_and_process_ledger() performs many checks and sub-operations that can fail. The current error handling prints an error message and exits immediately. The long error/help messages written inline add clutter to the functions actual implementation. This PR creates a new error enum for all of these previous error conditions, and bubbles up the error to let the caller decide what to do instead of exiting immediately. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml |