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

Function fireCustomErrorCodeName

_examples/routing/http-wire-errors/main.go:51–53  ·  view source on GitHub ↗
(ctx iris.Context)

Source from the content-addressed store, hash-verified

49}
50
51func fireCustomErrorCodeName(ctx iris.Context) {
52 Custom.Details(ctx, "message", "details with arguments: %s", "an argument")
53}
54
55func fireInvalidArgument(ctx iris.Context) {
56 var req = struct {

Callers

nothing calls this directly

Calls 1

DetailsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…