An InvalidParameterError represents an invalid HTTP parameter. The underlying string is the invalid parameter name, not value.
| 206 | // An InvalidParameterError represents an invalid HTTP parameter. |
| 207 | // The underlying string is the invalid parameter name, not value. |
| 208 | type InvalidParameterError string |
| 209 | |
| 210 | func (p InvalidParameterError) Error() string { return fmt.Sprintf("Invalid parameter %q", string(p)) } |
| 211 | func (InvalidParameterError) HTTPCode() int { return http.StatusBadRequest } |
no outgoing calls
no test coverage detected