Hello Aziz,
Samuel Kaiser
1

My best guess would be that you would have to wrap individual requests in different try catch

function someFunc () {
let req1, req2
try {
req1 = await request1()
} catch (e) {
req1 = somethingElse(e)
}
try {
req2 = await request2()
} catch (e) {
req2 = somethingElseEntirely()
}
return doSomethingWith(req1, req2)
}
Like what you read? Give Aziz Khambati a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.