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

Function Mark

markers_api.go:72–72  ·  view source on GitHub ↗

Mark creates an explicit mark for the given error, using the same mark as some reference error. Note: if any of the error types has been migrated from a previous package location or a different type, ensure that RegisterTypeMigration() was called prior to Mark().

(err error, reference error)

Source from the content-addressed store, hash-verified

70// package location or a different type, ensure that
71// RegisterTypeMigration() was called prior to Mark().
72func Mark(err error, reference error) error { return markers.Mark(err, reference) }

Callers

nothing calls this directly

Calls 1

MarkFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…