Exiger interview question

How did you handle exceptions while working with {a certain} api?