forked from go-packages/paypal
func (r *ErrorResponse) Error()
This commit is contained in:
parent
ebc7c22c7c
commit
172960ac0a
2
types.go
2
types.go
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user