github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/api/plugin/pluginerror/request_error.go (about) 1 package pluginerror 2 3 // RequestError represents a generic error encountered while performing the 4 // HTTP request. This generic error occurs before a HTTP response is obtained. 5 type RequestError struct { 6 Err error 7 } 8 9 func (e RequestError) Error() string { 10 return e.Err.Error() 11 }