MCPcopy Create free account
hub / github.com/crewjam/saml / ErrorFunction

FuncType ErrorFunction

samlsp/error.go:13–13  ·  view source on GitHub ↗

ErrorFunction is a callback that is invoked to return an error to the web user.

func(w http.ResponseWriter, r *http.Request, err error)

Source from the content-addressed store, hash-verified

11// ErrorFunction is a callback that is invoked to return an error to the
12// web user.
13type ErrorFunction func(w http.ResponseWriter, r *http.Request, err error)
14
15// DefaultOnError is the default ErrorFunction implementation. It prints
16// a message via the standard log package and returns a simple text

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected