MCPcopy
hub / github.com/koderover/zadig / HTTPError

Struct HTTPError

pkg/tool/errors/errors.go:34–39  ·  view source on GitHub ↗

HTTPError ...

Source from the content-addressed store, hash-verified

32
33// HTTPError ...
34type HTTPError struct {
35 code int
36 err string
37 desc string
38 extra map[string]interface{}
39}
40
41// NewHTTPError ...
42func NewHTTPError(code int, errStr string, args ...string) *HTTPError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected