(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()) |
| 14 | } |
| 15 | |
| 16 | func NewCatchAllError() error { |
| 17 | return errors.New("The targeted API was unable to perform the request. Please validate and retry your request.") |