MCPcopy Create free account
hub / github.com/corestoreio/pkg / Status

Function Status

util/cstrace/cstrace.go:16–24  ·  view source on GitHub ↗

Status codes for use with Span.SetStatus. These correspond to the status codes used by gRPC defined here: https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto Status if there is an error, it sets the error code "unknown" with the error string as span status otherwise status ok.

(span trace.Span, err error, msg string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected