Capgemini interview question

error handling