BadRequestf returns an error which satisfies Is(err, BadRequest) and the Locationer interface.
(format string, args ...interface{})
| 355 | // BadRequestf returns an error which satisfies Is(err, BadRequest) and the |
| 356 | // Locationer interface. |
| 357 | func BadRequestf(format string, args ...interface{}) error { |
| 358 | return newLocationError( |
| 359 | makeWrappedConstError(Hide(BadRequest), format, args...), |
| 360 | 1, |
| 361 | ) |
| 362 | } |
| 363 | |
| 364 | // NewBadRequest returns an error which wraps err and satisfies |
| 365 | // Is(err, BadRequest) and the Locationer interface. |
nothing calls this directly
no test coverage detected
searching dependent graphs…