WeWork Interview Question

Implement your own mapping function. Then do it asychronously. How would you handle errors?