MCPcopy Index your code
hub / github.com/mpolden/echoip / WithMessage

Method WithMessage

http/error.go:33–36  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

31}
32
33func (e *appError) WithMessage(message string) *appError {
34 e.Message = message
35 return e
36}
37
38func (e *appError) IsJSON() bool {
39 return e.ContentType == jsonMediaType

Callers 12

CLIHandlerMethod · 0.80
CLICountryHandlerMethod · 0.80
CLICountryISOHandlerMethod · 0.80
CLICityHandlerMethod · 0.80
CLICoordinatesHandlerMethod · 0.80
CLIASNHandlerMethod · 0.80
CLIASNOrgHandlerMethod · 0.80
JSONHandlerMethod · 0.80
PortHandlerMethod · 0.80
cacheResizeHandlerMethod · 0.80
DefaultHandlerMethod · 0.80
NotFoundHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected