Error Management in Rust

Java and other languages have error management. Rust has following unique features in Rust:

  • Recoverable/ “true” errors – Result enum is the key one which helps in recoverable error management. Errors can bubble up
  • Non-recoverable / “exceptions” – Panics and UnWraps support non recoverable error management. Stopping the whole program or gracefully exit the application is the only option

Leave a comment