Arcadia Interview Question

How do you handle errors in react?