(format string, args ...any)
| 35 | } |
| 36 | |
| 37 | func BadRequest(format string, args ...any) *Error { |
| 38 | return newError(http.StatusBadRequest, format, args...) |
| 39 | } |
| 40 | |
| 41 | func MethodNotAllowed(format string, args ...any) *Error { |
| 42 | return newError(http.StatusMethodNotAllowed, format, args...) |
no test coverage detected