MCPcopy Create free account
hub / github.com/bytebase/bytebase / Error

Method Error

backend/api/mcp/tool_http.go:90–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (e *toolError) Error() string {
91 if e.Suggestion != "" {
92 return fmt.Sprintf("%s: %s (%s)", e.Code, e.Message, e.Suggestion)
93 }
94 return fmt.Sprintf("%s: %s", e.Code, e.Message)
95}
96
97// Context key for storing the access token.
98type accessTokenKey struct{}

Calls

no outgoing calls