Below is how you can catch() an error in Axios. const err = await axios.get('https://httpbin.org/status/404'). catch ...
確定! 回上一頁