MCPcopy Index your code
hub / github.com/google/go-github / Error

Method Error

github/github.go:1626–1630  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1624}
1625
1626func (r *RedirectionError) Error() string {
1627 return fmt.Sprintf("%v %v: %v location %v",
1628 r.Response.Request.Method, sanitizeURL(r.Response.Request.URL),
1629 r.StatusCode, sanitizeURL(r.Location))
1630}
1631
1632// Is returns whether the provided error equals this error.
1633func (r *RedirectionError) Is(target error) bool {

Callers

nothing calls this directly

Calls 1

sanitizeURLFunction · 0.85

Tested by

no test coverage detected