Function
isExpectedFetchStreamingError
(error: Error | undefined)
Source from the content-addressed store, hash-verified
| 203 | } |
| 204 | |
| 205 | function 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 | |
| 214 | function RecipeMetaPill({ label, value }: { label: string; value: string }) { |
| 215 | return ( |
Tested by
no test coverage detected