This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 4l1KAK4ews_2z_E_ikviAuc6bYguxGMU2xE9CpJ1MLM
Cover

Consistent Custom Exception Classes in Python

Written by @transifex | Published on 2020/10/31

TL;DR
Having to handle exceptions is common in Python and so is having to define your own. Yet, I have seen competing ways of doing so in various projects. The inconsistency comes from Exceptions being something that can easily be subclassed and extended, but also something that can be easily instantiated and used in their base form.

[story continues]


Written by
@transifex
The #1 localization platform for developers.

Topics and
tags
python-programming|python-web-development|learn-python|python-tips|python-developers|python|classes|coding
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 4l1KAK4ews_2z_E_ikviAuc6bYguxGMU2xE9CpJ1MLM