MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / decodeInternalError

Function decodeInternalError

pkg/sql/colexecerror/error.go:285–289  ·  view source on GitHub ↗
(
	_ context.Context, cause error, _ string, _ []string, _ proto.Message,
)

Source from the content-addressed store, hash-verified

283func (e *internalError) Unwrap() error { return e.Cause() }
284
285func decodeInternalError(
286 _ context.Context, cause error, _ string, _ []string, _ proto.Message,
287) error {
288 return newInternalError(cause)
289}
290
291func init() {
292 errors.RegisterWrapperDecoder(errors.GetTypeKey((*notInternalError)(nil)), decodeNotInternalError)

Callers

nothing calls this directly

Calls 1

newInternalErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…