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

Method HandleContextError

x/errors/context_error_handler.go:15–17  ·  view source on GitHub ↗

HandleContextError completes the context.ErrorHandler interface. It's fired on rich rest response failures.

(ctx *context.Context, err error)

Source from the content-addressed store, hash-verified

13// HandleContextError completes the context.ErrorHandler interface. It's fired on
14// rich rest response failures.
15func (e *jsonErrorHandler) HandleContextError(ctx *context.Context, err error) {
16 HandleError(ctx, err)
17}

Callers

nothing calls this directly

Calls 1

HandleErrorFunction · 0.85

Tested by

no test coverage detected