(e error)
| 6 | ) |
| 7 | |
| 8 | func NewNetworkError(e error) error { |
| 9 | return fmt.Errorf("Error connecting to the targeted API: %#v. Please validate your target and retry your request.", e.Error()) |
| 10 | } |
| 11 | |
| 12 | func NewAuthServerNetworkError(e error) error { |
| 13 | return fmt.Errorf("Error connecting to the auth server: %#v. Please validate your target and retry your request.", e.Error()) |
no test coverage detected
searching dependent graphs…