Closed arealclimber closed 10 months ago
當 call API 但沒拿到資料時,將錯誤訊息用 custom error 形式整理成 result,之前的寫法會在 try-catch 的 catch 裡面 throw error 並且外面不一定會接住
taking 1 hr
當 call API 但沒拿到資料時,將錯誤訊息用 custom error 形式整理成 result,之前的寫法會在 try-catch 的 catch 裡面 throw error 並且外面不一定會接住