Do I need to test response.success inside the try catch block?

前端 未结 0 423
青春惊慌失措
青春惊慌失措 2021-01-02 05:23

Hi I am trying to handle the error for the async await. Normally I handle error with (response.status === 200) or something like this. Someone suggest me to

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