Question d’entretien chez Securin

How to do exception handling in python?

Réponse à la question d'entretien

Utilisateur anonyme

28 nov. 2024

I might use a ``` try except ``` block to handle exceptions which might occur during runtime. Then i might pad it with a finally orelse block depending upon the use case. Sometimes I would also have to write my own custom error classes to raise custom errors, depending on the application.