Forbiddenf returns an error which satistifes Is(err, Forbidden) and the Locationer interface.
(format string, args ...interface{})
| 403 | // Forbiddenf returns an error which satistifes Is(err, Forbidden) and the |
| 404 | // Locationer interface. |
| 405 | func Forbiddenf(format string, args ...interface{}) error { |
| 406 | return newLocationError( |
| 407 | makeWrappedConstError(Hide(Forbidden), format, args...), |
| 408 | 1, |
| 409 | ) |
| 410 | } |
| 411 | |
| 412 | // NewForbidden returns an error which wraps err and satisfies |
| 413 | // Is(err, Forbidden) and the Locationer interface. |
nothing calls this directly
no test coverage detected
searching dependent graphs…