MCPcopy
hub / github.com/ccfos/nightingale / Error

Struct Error

pkg/prom/reader.go:201–205  ·  view source on GitHub ↗

Error is an error returned by the API.

Source from the content-addressed store, hash-verified

199
200// Error is an error returned by the API.
201type Error struct {
202 Type ErrorType
203 Msg string
204 Detail string
205}
206
207func (e *Error) Error() string {
208 return fmt.Sprintf("%s: %s", e.Type, e.Msg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected