June 6, 2022

Raising exceptions or returning error objects in Python

How returning error objects can provide some advantages over raising exceptions in Python, such as for static type checking tools.