Frage im Vorstellungsgespräch bei Tata Consultancy Services

How to create custom expections in Python?