MCPcopy Index your code
hub / github.com/cockroachdb/errors / HandledWithMessage

Function HandledWithMessage

barriers_api.go:34–34  ·  view source on GitHub ↗

HandledWithMessage is like Handled except the message is overridden. This can be used e.g. to hide message details or to prevent downstream code to make assertions on the message's contents.

(err error, msg string)

Source from the content-addressed store, hash-verified

32// This can be used e.g. to hide message details or to prevent
33// downstream code to make assertions on the message's contents.
34func HandledWithMessage(err error, msg string) error { return barriers.HandledWithMessage(err, msg) }

Callers

nothing calls this directly

Calls 1

HandledWithMessageFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…