Frage im Vorstellungsgespräch bei Julius Baer

Write a simple react component get data from API and render. How you handle exceptions?