MCPcopy Create free account
hub / github.com/kataras/iris / writeEntityNotFound

Function writeEntityNotFound

_examples/database/mysql/api/helper.go:23–25  ·  view source on GitHub ↗
(ctx iris.Context)

Source from the content-addressed store, hash-verified

21}
22
23func writeEntityNotFound(ctx iris.Context) {
24 ctx.StopWithJSON(iris.StatusNotFound, newError(iris.StatusNotFound, ctx.Request().Method, ctx.Path(), "entity does not exist"))
25}

Callers 3

GetByIDMethod · 0.85
GetByIDMethod · 0.85
DeleteMethod · 0.85

Calls 4

StopWithJSONMethod · 0.80
RequestMethod · 0.80
newErrorFunction · 0.70
PathMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…