paint-brush
Consistent Custom Exception Classes in Pythonby@transifex
1,300 reads
1,300 reads

Consistent Custom Exception Classes in Python

by transifex6mOctober 31st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.

Company Mentioned

Mention Thumbnail
featured image - Consistent Custom Exception Classes in Python
transifex HackerNoon profile picture
transifex

transifex

@transifex

The #1 localization platform for developers.

L O A D I N G
. . . comments & more!

About Author

transifex HackerNoon profile picture
transifex@transifex
The #1 localization platform for developers.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite