Correct way to catch error when await for function in Javascript

后端 未结 0 1946
逝去的感伤
逝去的感伤 2021-01-24 18:53

I can\'t catch reject in my function. I have searched at google, but I haven\'t found solution, so please help me with this piece of code:

async function errorFun         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题