- 1. Error Handling in Rust
- 2. demo
- 3. Error Handling
- 3.1. Runtime error (panic) noticed during compilation
- 3.2. Divide by zero panick in function
- 3.3. Return error on failure
- 3.4. Divide by zero runtime panic
- 3.5. Divide by zero return error
- 3.6. factorial function, runtime panic
- 3.7. factorial create panic
- 3.8. Out of bound for vectors
- 3.9. Out of bound for arrays
- 3.10. Open files
- 3.11. Error handling on the command line
- 3.12. main returning Result - Set exit code
- 3.13. Error in internal function