Hi all,
I have a composable that uses useFetch, setting the default API URL via options.baseURL. That is already working properly.
What I would like to do now is catch server errors via onResponseError, and navigate to the error page passing along the error as a prop.
I looked around but couldn't find anything, would you happen to have some tips?
Thanks,
#onResponseError to error page
5 messages · Page 1 of 1 (latest)
I am havinga similar problem
Solution
life saver