by jdlyga · 3y ago · 0 comments
Yes.
Abort just... aborts everything, potentially dropping you to the prompt.
Fail responds with an error and let the software handle what to do now.
Retry: retry the operation (great after you put a floppy in the drive)
Fail: return from system call with an error code, program keeps running
panic!("just stop everything");
fail: return Err("let someone try to handle this");