You can use a try/catch block around an await statement to catch errors that occur within the awaited Promise.
try/catch
await