Separate application logic and improve error handling #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "eprintln"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/lib.rs
andsrc/main.rs
Result<(), &'static str>
fromsrc/lib.rs
expect
with&str
error messagessrc/main.rs
stderr
and exit with code1