(ctx iris.Context)
| 17 | } |
| 18 | |
| 19 | func writeInternalServerError(ctx iris.Context) { |
| 20 | ctx.StopWithJSON(iris.StatusInternalServerError, newError(iris.StatusInternalServerError, ctx.Request().Method, ctx.Path(), "")) |
| 21 | } |
| 22 | |
| 23 | func writeEntityNotFound(ctx iris.Context) { |
| 24 | ctx.StopWithJSON(iris.StatusNotFound, newError(iris.StatusNotFound, ctx.Request().Method, ctx.Path(), "entity does not exist")) |
no test coverage detected
searching dependent graphs…