Error Handling
๋ฌ์คํธ์ ์ค๋ฅ ์ฒ๋ฆฌ๋ ๋ช ์์ ์ธ ํ๋ฆ์ ์ด๋ก ์ฒ๋ฆฌ๋ฉ๋๋ค:
- ์ค๋ฅ๋ฅผ ๋ฐ์ํ ์ ์๋ ํจ์๋ ๋ฐํ ํ์ ์ ๋ช ์ํฉ๋๋ค.
- ์์ธ๋ ์์ต๋๋ค.
Error handling in Rust is done using explicit control flow:
- Functions that can have errors list this in their return type,
- There are no exceptions.