(message string, resp *http.Response, err error)
| 54 | } |
| 55 | |
| 56 | func newGitHubRawAPIError(message string, resp *http.Response, err error) *GitHubRawAPIError { |
| 57 | return &GitHubRawAPIError{ |
| 58 | Message: message, |
| 59 | Response: resp, |
| 60 | Err: err, |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func (e *GitHubRawAPIError) Error() string { |
| 65 | return fmt.Errorf("%s: %w", e.Message, e.Err).Error() |
no outgoing calls