MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / Error

Method Error

api/retry.go:143–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 if errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF) {
142 return NewRetryableError(err.Error())
143 }
144 var networkError net.Error
145 if errors.As(err, &networkError) && (networkError.Timeout() || networkError.Temporary()) {
146 return NewRetryableError(err.Error())
147 }
148 lower := strings.ToLower(err.Error())

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected