()
| 89 | } |
| 90 | |
| 91 | func (e *HTTPError) Error() string { |
| 92 | if e.InternalMessage != "" { |
| 93 | return e.InternalMessage |
| 94 | } |
| 95 | return fmt.Sprintf("%d: %s", e.Code, e.Message) |
| 96 | } |
| 97 | |
| 98 | // Cause returns the root cause error |
| 99 | func (e *HTTPError) Cause() error { |
no outgoing calls