rust-Journey/erro-handling
2025-12-16 22:10:06 +05:45
..
src first commit 2025-12-16 22:10:06 +05:45
Cargo.lock first commit 2025-12-16 22:10:06 +05:45
Cargo.toml first commit 2025-12-16 22:10:06 +05:45
README.md first commit 2025-12-16 22:10:06 +05:45

for quick prototyping:

  • let file = File::open("hello.txt").unwrap(); //panics
  • let file = File::open("hello.txt").expect("Failed to open") // custom error