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

Function errstring

query/expr/parser_test.go:431–436  ·  view source on GitHub ↗

errstring converts an error to its string representation.

(err error)

Source from the content-addressed store, hash-verified

429
430// errstring converts an error to its string representation.
431func errstring(err error) string {
432 if err != nil {
433 return err.Error()
434 }
435 return ""
436}

Callers 2

TestParser_ParseExprFunction · 0.85
TestScanStringFunction · 0.85

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected