MCPcopy
hub / github.com/docker/docker-agent / Error

Method Error

pkg/tools/mcp/interactive.go:86–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (e *OAuthDeclinedError) Error() string {
87 if e.URL == "" {
88 return "OAuth authorization was declined or cancelled by the user"
89 }
90 return "OAuth authorization to " + e.URL + " was declined or cancelled by the user"
91}
92
93// IsOAuthDeclined reports whether err (or any error wrapped by it) signals
94// that the user explicitly declined or cancelled an interactive OAuth

Calls

no outgoing calls