Searched refs:ErrorTransport (Results 1 – 2 of 2) sorted by relevance
57 return ErrorTransport{err}65 type ErrorTransport struct{ Err error } struct67 func (t ErrorTransport) RoundTrip(*http.Request) (*http.Response, error) { argument
301 return &http.Client{Transport: internal.ErrorTransport{Err: err}}