Custom useFetch
I'm refactoring my custom use fetch since the api always returns a specific type if there is an error.
How can I specify when there is an error response from the api that it is of type MyApiErrorResponse or something else?
How can I specify when there is an error response from the api that it is of type MyApiErrorResponse or something else?
