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

Method HandleContextError

context/context.go:4274–4276  ·  view source on GitHub ↗

HandleContextError completes the ErrorHandler interface.

(ctx *Context, err error)

Source from the content-addressed store, hash-verified

4272
4273// HandleContextError completes the ErrorHandler interface.
4274func (h ErrorHandlerFunc) HandleContextError(ctx *Context, err error) {
4275 h(ctx, err)
4276}
4277
4278func (ctx *Context) handleContextError(err error) {
4279 if err == nil {

Callers

nothing calls this directly

Calls 1

hFunction · 0.50

Tested by

no test coverage detected