ErrorFunction is a callback that is invoked to return an error to the web user.
func(w http.ResponseWriter, r *http.Request, err error)
| 11 | // ErrorFunction is a callback that is invoked to return an error to the |
| 12 | // web user. |
| 13 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected