(err error)
| 832 | } |
| 833 | |
| 834 | func IsStatusNotFound(err error) (yes bool) { |
| 835 | hErr, ok := err.(*ErrHTTP) |
| 836 | if !ok { |
| 837 | return false |
| 838 | } |
| 839 | return hErr.Status == http.StatusNotFound |
| 840 | } |
| 841 | |
| 842 | func IsStatusBadGateway(err error) (yes bool) { |
| 843 | hErr, ok := err.(*ErrHTTP) |
no outgoing calls
no test coverage detected