Refactor error handling in FetchResponse