diff --git a/types.go b/types.go index c43c0f66..668d1e28 100644 --- a/types.go +++ b/types.go @@ -978,7 +978,7 @@ type ( // Error method implementation for ErrorResponse struct func (r *ErrorResponse) Error() string { - return fmt.Sprintf("%v %v: %d %s", r.Response.Request.Method, r.Response.Request.URL, r.Response.StatusCode, r.Message) + return fmt.Sprintf("%v %v: %d %s, %+v", r.Response.Request.Method, r.Response.Request.URL, r.Response.StatusCode, r.Message, r.Details) } // MarshalJSON for JSONTime