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

Function IsChannelError

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

Source from the content-addressed store, hash-verified

195}
196
197func IsChannelError(err *NewAPIError) bool {
198 if err == nil {
199 return false
200 }
201 return strings.HasPrefix(string(err.errorCode), "channel:")
202}
203
204func IsLocalError(err *NewAPIError) bool {
205 if err == nil {

Callers 2

shouldRetryFunction · 0.92
ShouldDisableChannelFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected