useQuery hook handles promises in React Query. If the promise throws an error, the query object provides a isError property to detect that.
確定! 回上一頁