MCPcopy Index your code
hub / github.com/coder/coder / Error

Method Error

aibridge/intercept/openai_errors.go:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56func (e *ResponseError) Error() string {
57 if e.ErrorObject == nil {
58 return ""
59 }
60 return e.ErrorObject.Message
61}
62
63// ToResponse marshals e into an *http.Response shaped for the
64// OpenAI API.

Callers 3

ResponseErrorFromKeyPoolFunction · 0.45
writeSSEMethod · 0.45

Calls

no outgoing calls

Tested by 1