MCPcopy
hub / github.com/uptrace/uptrace / httpError

Struct httpError

pkg/httperror/httperror.go:51–55  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

49//------------------------------------------------------------------------------
50
51type httpError struct {
52 Status int `json:"status"`
53 Code string `json:"code"`
54 Message string `json:"message"`
55}
56
57func (e *httpError) HTTPStatusCode() int {
58 return e.Status

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected