Elcom interview question

How do you handle errors on the client side?