An InvalidMethodError is returned when an HTTP handler is invoked with an unsupported method.
| 192 | // An InvalidMethodError is returned when an HTTP handler is invoked |
| 193 | // with an unsupported method. |
| 194 | type InvalidMethodError struct{} |
| 195 | |
| 196 | func (InvalidMethodError) Error() string { return "invalid method" } |
| 197 | func (InvalidMethodError) HTTPCode() int { return http.StatusMethodNotAllowed } |
nothing calls this directly
no outgoing calls
no test coverage detected