MCPcopy Index your code
hub / github.com/TanStack/ai / isExpectedFetchStreamingError

Function isExpectedFetchStreamingError

examples/ts-react-native-chat/src/App.tsx:205–212  ·  view source on GitHub ↗
(error: Error | undefined)

Source from the content-addressed store, hash-verified

203}
204
205function isExpectedFetchStreamingError(error: Error | undefined): boolean {
206 if (!error) return false
207 return (
208 error.name === 'UnsupportedResponseStreamError' ||
209 error.message.includes('Response.body') ||
210 error.message.includes('response.body')
211 )
212}
213
214function RecipeMetaPill({ label, value }: { label: string; value: string }) {
215 return (

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected