github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/api/cloudcontroller/ccerror/request_error.go (about) 1 package ccerror 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 }