MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / IsLocalError

Function IsLocalError

types/error.go:204–210  ·  view source on GitHub ↗
(err *NewAPIError)

Source from the content-addressed store, hash-verified

202}
203
204func IsLocalError(err *NewAPIError) bool {
205 if err == nil {
206 return false
207 }
208
209 return err.ErrorType == ErrorTypeNewAPIError
210}

Callers 2

shouldRetryFunction · 0.92
ShouldDisableChannelFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected