MCPcopy Index your code
hub / github.com/perkeep/perkeep / MissingParameterError

TypeAlias MissingParameterError

internal/httputil/httputil.go:201–201  ·  view source on GitHub ↗

A MissingParameterError represents a missing HTTP parameter. The underlying string is the missing parameter name.

Source from the content-addressed store, hash-verified

199// A MissingParameterError represents a missing HTTP parameter.
200// The underlying string is the missing parameter name.
201type MissingParameterError string
202
203func (p MissingParameterError) Error() string { return fmt.Sprintf("Missing parameter %q", string(p)) }
204func (MissingParameterError) HTTPCode() int { return http.StatusBadRequest }

Callers 1

MustGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected