func (r *ErrorResponse) Error()

This commit is contained in:
Aliaksandr Pliutau 2016-02-22 16:22:00 +07:00
parent ebc7c22c7c
commit 172960ac0a

View File

@ -355,5 +355,5 @@ type (
// Error method implementation for ErrorResponse struct
func (r *ErrorResponse) Error() string {
return fmt.Sprintf("%v %v: %d %v\nDetails: %v", r.Response.Request.Method, r.Response.Request.URL, r.Response.StatusCode, r.Message, r.Details)
return fmt.Sprintf("%v %v: %d %v", r.Response.Request.Method, r.Response.Request.URL, r.Response.StatusCode, r.Message)
}