MCPcopy Index your code
hub / github.com/tailscale/tailscale / errorOptions

Method errorOptions

tsweb/tsweb.go:398–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396}
397
398func (opts HandlerOptions) errorOptions() ErrorOptions {
399 return ErrorOptions{
400 OnError: opts.OnError,
401 }
402}
403
404// ErrorHandlerFunc is called to present a error response.
405type ErrorHandlerFunc func(http.ResponseWriter, *http.Request, HTTPError)

Callers 1

StdHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected