了解HTTP Status Code (狀態碼); 使用Node 的http-status 組件; 自定義API Error 拋出錯誤 ... err.errors[0].messages; errorCode = 400; errorStatus = httpStatus.
確定! 回上一頁