MCPcopy Index your code
hub / github.com/53AI/53AIHub / Message

Method Message

api/model/response.go:105–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103)
104
105func (c ResponseCode) Message() string {
106 if msg, ok := CodeMessage[c]; ok {
107 return msg
108 }
109 return "system error"
110}
111
112func (c ResponseCode) ToResponse(data interface{}) CommonResponse {
113 if err, ok := data.(error); ok {

Callers 6

ToResponseMethod · 0.95
ToErrorResponseMethod · 0.95
ToNewErrorResponseMethod · 0.95
ToOpenAIErrorResponeMethod · 0.95
ErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected