(target error)
| 87 | } |
| 88 | |
| 89 | func (e *httpError) Is(target error) bool { |
| 90 | return errors.Is(e.errdef, target) |
| 91 | } |
| 92 | |
| 93 | // httpErrorFromStatusCode creates an errdef error, based on the provided HTTP status-code |
| 94 | func httpErrorFromStatusCode(err error, statusCode int) error { |
no outgoing calls