Trantor interview question

How would you handle Error Boundary in ReactJs Project?