Given your result requires a, b and c and would fail without all of them, why not write one catch handler?
asyncfunctionheaven(){try{consta=awaitstep1();constb=awaitstep2(a);constc=awaitstep3(b);returna+b+c;}catch(e){// something like// throw new Error("Trouble in heaven")// orreturn0}}
Also your awesome function is probably missing the promise parameter
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Given your result requires
a
,b
andc
and would fail without all of them, why not write one catch handler?Also your
awesome
function is probably missing thepromise
parameter