Cvent Interview Question

how to handle async and await errors and response?