MCPcopy
hub / github.com/uber/aresdb / Error

Method Error

utils/error.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (e APIError) Error() string {
32 cause := ""
33 if e.Cause != nil {
34 cause = e.Cause.Error()
35 }
36 return fmt.Sprintf("%s\n%s", e.Message, cause)
37}
38
39// StackedError contains multiple lines of error messages as well as the stack trace.
40type StackedError struct {

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected