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

Method Unwrap

pkg/sql/colexecerror/error.go:283–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281func (e *internalError) Error() string { return e.cause.Error() }
282func (e *internalError) Cause() error { return e.cause }
283func (e *internalError) Unwrap() error { return e.Cause() }
284
285func decodeInternalError(
286 _ context.Context, cause error, _ string, _ []string, _ proto.Message,

Callers 1

Calls 1

CauseMethod · 0.95

Tested by

no test coverage detected