MCPcopy Create free account
hub / github.com/cockroachdb/errors / GetSafeDetails

Function GetSafeDetails

errbase_api.go:58–58  ·  view source on GitHub ↗

GetSafeDetails collects the safe details from the given error object. If it is a wrapper, only the details from the wrapper are returned.

(err error)

Source from the content-addressed store, hash-verified

56// object. If it is a wrapper, only the details from the wrapper are
57// returned.
58func GetSafeDetails(err error) (payload SafeDetailPayload) { return errbase.GetSafeDetails(err) }
59
60// SafeDetailPayload captures the safe strings for one
61// level of wrapping.

Callers

nothing calls this directly

Calls 1

GetSafeDetailsFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…