Talk Rust 10: Error Handling

PrimerPy
5 min readApr 9, 2024
The Burning of the Library of Alexandria, 1876. Private Collection. Photo: Fine Art Source: Getty Images

In most modern languages, there are a systematic way to handle errors, e.g. in Python, we usually use try...except...(else...final...) for such purposes. However this type of error handling is problematic.

Different Types of Errors

While coding, there are potentially two types of errors: exceptions and failure.

  • Exceptions are tied to the programs…

--

--

PrimerPy

www.primerpy.com | A Primer on Python. I'm a veteran Data and Web developer based out of NYC and DC area. I blog mainly on Python and other tech related topics.