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

Function NewAPIStatusError

api/retry.go:130–137  ·  view source on GitHub ↗
(provider string, statusCode int, status string, body []byte)

Source from the content-addressed store, hash-verified

128}
129
130func NewRetryableError(message string) error {
131 return RetryableError{Message: message}
132}
133
134func retryableTransportError(ctx context.Context, err error) error {
135 if err == nil {
136 return nil
137 }
138 if ctxErr := ctx.Err(); ctxErr != nil {
139 return ctxErr
140 }

Callers 3

RetryRequestMethod · 0.85
streamAnthropicMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected