XD blog

blog page

exception, programming, python


2013-08-12 Exceptions in Python

when raising an exception, we might be tempted by using the type Exception. But this type also gives information on the error. Python has a list of standard exceptions with a meaningful name: standard exceptions. They should be used.


<-- -->

Xavier Dupré