UnauthorizedJSON sends JSON format of StatusUnauthorized(401) HTTPError value.
(ctx iris.Context, err error, format string, args ...interface{})
| 126 | |
| 127 | // UnauthorizedJSON sends JSON format of StatusUnauthorized(401) HTTPError value. |
| 128 | func UnauthorizedJSON(ctx iris.Context, err error, format string, args ...interface{}) HTTPError { |
| 129 | return FailJSON(ctx, iris.StatusUnauthorized, err, format, args...) |
| 130 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…