MCPcopy Create free account
hub / github.com/coder/coder / IsUnrecoverableError

Function IsUnrecoverableError

aibridge/intercept/eventstream/eventstream.go:254–260  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

252}
253
254func IsUnrecoverableError(err error) bool {
255 if errors.Is(err, context.Canceled) {
256 return true
257 }
258
259 return IsConnError(err)
260}
261
262func flush(w http.ResponseWriter) (err error) {
263 flusher, ok := w.(http.Flusher)

Callers 3

ProcessRequestMethod · 0.92
mapStreamErrorMethod · 0.92
mapStreamErrorMethod · 0.92

Calls 2

IsConnErrorFunction · 0.85
IsMethod · 0.45

Tested by

no test coverage detected