Exception Handling In Python Types